This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
/** | |
* @author Feder1co 5oave | |
*/ | |
class Museo { | |
private class Visita { | |
final int numero; | |
int prenotazioni; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Feder1co 5oave | |
*/ | |
class Mailbox { | |
class Message { | |
Message next; | |
String text; | |
Message(String t) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Feder1co 5oave | |
*/ | |
class Schedulatore { | |
private final int N; | |
private String[] seq; | |
private int corrente; | |
private boolean fine; | |
public Schedulatore(int num) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package arithmeticExpression.tokens; | |
import java.util.regex.Pattern; | |
/** | |
* | |
* @author Feder1co 5oave | |
*/ | |
public class Operator extends Token { | |
//TODO verificare la correttezza dell'uso dei get* static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Interfaccia_SuperSemplificata(ir, ior_, d7_d0, dav_, rfd, bytein, reset_); | |
input ior_, dav_, reset_; | |
input [7:0] bytein; | |
output ir; | |
inout [7:0] d7_d0; | |
reg [7:0] BUFF; | |
RSA_Interfaccia rsa(rfd, dav_, ir, ior_, reset_); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* DESCRIZIONE DEL PROCESSORE mE88 CON IMPLEMENTATO IL MECCANISMO DELLE | |
INTERRUZIONI E DELLA PROTEZIONE | |
Il processore parte in modo sistema. | |
Tramite l'istruzione STUM può passare definitivamente in modo utente. | |
In modo utente, l'esecuzione di un'istruzione INT o l'arrivo di un'interruzione. | |
hardware riportano il processore in modo sistema, mentre la terminazione | |
delle primitive o delle routine di risposta riporta il processore nel modo | |
*precedente*. | |
La protezione prevede la protezione dall'esecuzione di alcune istruzioni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct st { | |
double vv[8]; | |
int a; | |
double b; | |
}; | |
class cl { | |
int n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Feder1co 5oave | |
*/ | |
#include <cassert> | |
#include <iostream> | |
#include <cmath> | |
#include <cfloat> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module RS_PIC(p, reset_, intr, inta, index, irr7_irr0, reset_irr); | |
input p, reset_, inta; | |
input [7:0] irr7_irr0; | |
output intr; | |
output [7:0] reset_irr; | |
output [2:0] index; | |
reg [ :0] STAR; | |
reg [2:0] INDEX; | |
reg [7:0] RESET_IRR; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct st1 { int vv1[4]; int vv2[8]; }; | |
struct st2 { double vv1[4]; double vv2[8]; }; | |
class cl | |
{ st1 s1; st2 s2; int n; | |
public: | |
cl(st1 ss); | |
cl(const cl& cla); |
OlderNewer