- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,008 for new (0.02 sec)
-
src/main/java/jcifs/internal/witness/WitnessNotification.java
/** * Creates a new empty witness notification. */ public WitnessNotification() { this.timestamp = System.currentTimeMillis(); this.newIPAddresses = new ArrayList<>(); this.oldIPAddresses = new ArrayList<>(); this.flags = WITNESS_RESOURCE_STATE_UNKNOWN; } /** * Creates a new witness notification. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
// Given: A SID with test values rpc.sid_t sid = new rpc.sid_t(); sid.revision = (byte) 1; sid.sub_authority_count = (byte) 2; sid.identifier_authority = new byte[] { (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 5 }; sid.sub_authority = new int[] { 1000, 2000 }; when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
} /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { // Given Trans2QueryPathInformation trans = new Trans2QueryPathInformation("test.txt", 0x0101); byte[] dst = new byte[2]; // When int bytesWritten = trans.writeSetupWireFormat(dst, 0); // Then assertEquals(2, bytesWritten, "Should write 2 bytes.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
// IbvSendWR sendWR = new IbvSendWR(); // sendWR.setWr_id(System.nanoTime()); // sendWR.setOpcode(IbvSendWR.IbvWrOpcode.IBV_WR_SEND.ordinal()); // sendWR.setSend_flags(IbvSendWR.IBV_SEND_SIGNALED); // // LinkedList<IbvSge> sgeList = new LinkedList<>(); // IbvSge sge = new IbvSge(); // sge.setAddr(disniRegion.getAddress());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
public void test_checkRule() { final Rule rule = ruleManager.getRule(new ResponseData()); assertNotNull(rule); assertEquals("fileRule", rule.getRuleId()); final RegexRule rule2 = new RegexRule(); rule2.setAllRequired(true); rule2.addRule("url", "http:.*"); final RegexRule rule3 = new RegexRule(); rule3.addRule("url", "http:.*");Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
// For now, just test basic connectivity to RPC endpoint try (java.net.Socket socket = new java.net.Socket()) { socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS); } catch (IOException e) { throw new IOException("Cannot connect to RPC endpoint at " + serverAddress.getHostAddress() + ":" + WITNESS_RPC_PORT, e); } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
@BeforeEach void setUpStreams() { originalOut = System.out; originalErr = System.err; outContent = new ByteArrayOutputStream(); errContent = new ByteArrayOutputStream(); System.setOut(new PrintStream(outContent)); System.setErr(new PrintStream(errContent)); } @AfterEach void restoreStreams() { System.setOut(originalOut);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
final Smb2SetInfoRequest req = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId()); req.setFileInformation(new FileEndOfFileInformation(newLength)); th.send(req, RequestParam.NO_RETRY); } else if (th.hasCapability(SmbConstants.CAP_NT_SMBS)) { th.send(new Trans2SetFileInformation(th.getConfig(), fh.getFid(), new FileEndOfFileInformation(newLength)),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
byte[] buffer = new byte[100]; int consumed = pipe.readParametersWireFormat(buffer, 0, 10); assertEquals(0, consumed, "readParametersWireFormat should return 0"); } @Test public void testReadDataWireFormat() { // Test that readDataWireFormat returns 0 TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0)