- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 568 for preserve (0.19 sec)
-
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero dstIndex += 8; parentLeaseKey.encode(dst, dstIndex); // ParentLeaseKey (16 bytes) dstIndex += 16; SMBUtil.writeInt2(epoch, dst, dstIndex); // Epoch (2 bytes) dstIndex += 2; SMBUtil.writeInt2(0, dst, dstIndex); // Reserved (2 bytes) dstIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
// multiple times return target == that.target && method.equals(that.method); } return false; } /** * Checks whether {@code method} is thread-safe, as indicated by the presence of the {@link * AllowConcurrentEvents} annotation. */ private static boolean isDeclaredThreadSafe(Method method) { return method.getAnnotation(AllowConcurrentEvents.class) != null; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null * <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null * <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8); assertEquals(8, decodedBytes); // Verify the round trip preserves the value // Note: We can't directly access endOfFile field, but toString contains it assertEquals(original.toString(), decoded.toString()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().maxBufferSize = 16384; assertTrue(response.isValid(mockContext, request)); // After negotiation, check if unicode capability is preserved assertTrue((response.getNegotiatedCapabilities() & SmbConstants.CAP_UNICODE) != 0); } @Test public void testIsValidWithInvalidDialect() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
for (int i = 0; i < manyDialects.length; i++) { assertEquals(manyDialects[i], SMBUtil.readInt2(buffer, 24 + i * 2)); } } @Test @DisplayName("Test encode preserves dialect order") void testEncodePreservesDialectOrder() { // Use dialects in specific order int[] orderedDialects = new int[] { 0x0311, 0x0302, 0x0300, 0x0210, 0x0202 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @Test @DisplayName("mechanism token empty array – preserved after round‑trip") void testEmptyMechanismToken() throws IOException { NegTokenTarg nt = new NegTokenTarg(); nt.setResult(NegTokenTarg.REQUEST_MIC);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
int bytesWritten = smbComNtTransaction.writeParameterWordsWireFormat(dst, 0); // 1 (reserved) + 2 (reserved) + 4 (totalParameterCount) + 4 (totalDataCount) + // 4 (parameterCount) + 4 (parameterOffset) + 4 (parameterDisplacement) + // 4 (dataCount) + 4 (dataOffset) + 4 (dataDisplacement) + 1 (reserved) assertEquals(36, bytesWritten, "Number of bytes written should be 36 for secondary transaction");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* the XML specification. * * <p>This escaper does not escape non-ASCII characters to their numeric character references * (NCR). Any non-ASCII characters appearing in the input will be preserved in the output. * Specifically "\r" (carriage return) is preserved in the output, which may result in it being * silently converted to "\n" when the XML is parsed. * * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jun 20 17:15:33 UTC 2025 - 6.5K bytes - Viewed (0)