- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 316 for SetBytes (0.19 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
/** * Context name for durable handle V2 response */ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit) private int flags; /** * Create a new durable handle V2 response */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
random.nextBytes(bytes); String s = new String(bytes, UTF_16LE); // so all random strings are valid assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putString(s, UTF_16LE).hash()); } } public void testFloat() { Sink sink = new Sink(4);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
break; case 1: final ASN1BitString ctxFlags = ASN1BitString.getInstance(tagged, true); setContextFlags(ctxFlags.getBytes()[0] & 0xff); break; case 2: final ASN1OctetString mechanismToken = ASN1OctetString.getInstance(tagged, true);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// [9-127) includes all ascii non-control characters sb.append((char) (random.nextInt(127 - 9) + 9)); } String string = sb.toString(); sb.setLength(0); data = ByteSource.wrap(string.getBytes(charset)); } @Benchmark public int timeCopy(int reps) throws IOException { int r = 0; Charset localCharset = charset; ByteSource localData = data;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
private SmbComNegotiateResponse mockNegotiate; @Mock private ServerMessageBlock mockAndX; @Mock private Configuration mockConfig; private static byte[] blobCred() { return "blobdata".getBytes(StandardCharsets.UTF_8); } @BeforeEach void setup() { when(mockContext.getConfig()).thenReturn(mockConfig); when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
} /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes(); assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken)); } /** * Test constructor with a token that has an incorrect OID. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
/** * Context name for durable handle reconnect */ public static final String CONTEXT_NAME = "DHnC"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private static final int STRUCTURE_SIZE = 16; private byte[] fileId; // 16-byte file ID from previous open /** * Create a new durable handle reconnect contextRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
for (int i = 2; i < 6; i++) { assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0."); } // Check filename byte[] filenameBytes = filename.getBytes(); for (int i = 0; i < filenameBytes.length; i++) { assertEquals(filenameBytes[i], dst[6 + i], "Filename byte at index " + i + " should match."); } // Check null terminator
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/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
outputFile.createNewFile(); } // Write some dummy content to simulate actual thumbnail Files.write(outputFile.toPath(), ("thumbnail-" + thumbnailId).getBytes()); return true; } catch (IOException e) { return false; } } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0)