- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 961 for dsbyte (0.04 sec)
-
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertEquals(60000, request.getTimeoutMs()); assertFalse(request.isPersistent()); } @Test public void testDurableHandleReconnect() { byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId); assertEquals("DHnC", new String(reconnect.getName()));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
assertEquals("guest", accountName); assertEquals("DOM", primaryDomain); byte[] lm = (byte[]) getField(obj, "lmHash"); byte[] nt = (byte[]) getField(obj, "ntHash"); assertArrayEquals(new byte[0], lm); assertArrayEquals(new byte[0], nt); } @Test void unsupportedCredentialType() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
*/ public Smb2LeaseKey() { this.key = new byte[LEASE_KEY_SIZE]; RANDOM.nextBytes(this.key); } /** * Create a lease key from existing bytes * * @param key 16-byte array * @throws IllegalArgumentException if key is not 16 bytes */ public Smb2LeaseKey(byte[] key) { if (key == null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
bufferIndex += 4; final byte[] nameBytes = new byte[nameLen]; System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length); bufferIndex += nameLen; this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE); return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
tests/serializer_test.go
} type CustomSerializer struct { prefix []byte } func NewCustomSerializer(prefix string) *CustomSerializer { return &CustomSerializer{prefix: []byte(prefix)} } func (c *CustomSerializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) { switch value := dbValue.(type) { case []byte: err = field.Set(ctx, dst, bytes.TrimPrefix(value, c.prefix))Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
internal/s3select/message.go
return newErrorMessage([]byte(errorCode), []byte(errorMessage)) } type messageWriter struct { writer http.ResponseWriter getProgressFunc func() (int64, int64) bytesReturned int64 payloadBuffer []byte payloadBufferIndex int payloadCh chan *bytes.Buffer finBytesScanned, finBytesProcessed int64 errCh chan []byte doneCh chan struct{} }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
*/ public NdrBuffer deferred; /** * Constructs an NdrBuffer with the specified byte array and starting position. * * @param buf the byte array to use as the buffer * @param start the starting position in the buffer */ public NdrBuffer(final byte[] buf, final int start) { this.buf = buf; this.start = index = start; length = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
} if (buckets <= BYTE_MAX_SIZE) { return new byte[buckets]; } else if (buckets <= SHORT_MAX_SIZE) { return new short[buckets]; } else { return new int[buckets]; } } static void tableClear(Object table) { if (table instanceof byte[]) { Arrays.fill((byte[]) table, (byte) 0); } else if (table instanceof short[]) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
@Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (useUnicode) { dst[dstIndex] = (byte) '\0'; dstIndex++; } dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
FileBackedOutputStream out = new FileBackedOutputStream(/* fileThreshold= */ 10); ByteSource source = out.asByteSource(); byte[] chunk1 = newPreFilledByteArray(8); // Below threshold byte[] chunk2 = newPreFilledByteArray(5); // Crosses threshold byte[] chunk3 = newPreFilledByteArray(20); // More data to file out.write(chunk1); assertThat(out.getFile()).isNull(); out.write(chunk2);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 16:30:29 UTC 2025 - 6.7K bytes - Viewed (0)