- Sort Score
- Result 10 results
- Languages All
Results 831 - 840 of 1,386 for Byte (0.01 sec)
-
android/guava-tests/test/com/google/common/io/TestByteSource.java
import java.io.InputStream; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * A byte source for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked public final class TestByteSource extends ByteSource implements TestStreamSupplier { private final byte[] bytes; private final ImmutableSet<TestOption> options; private boolean inputStreamOpened;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
import java.io.InputStream; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * A byte source for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked public final class TestByteSource extends ByteSource implements TestStreamSupplier { private final byte[] bytes; private final ImmutableSet<TestOption> options; private boolean inputStreamOpened;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java
/** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() { return contextHandle; } /** * Sets the context handle. * * @param contextHandle the context handle */ public void setContextHandle(byte[] contextHandle) { this.contextHandle = contextHandle; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
stub_frag_len = msg.length - 24; if (off + stub_frag_len > stub.length) { // shouldn't happen if alloc_hint is correct or greater final byte[] tmp = new byte[off + stub_frag_len]; System.arraycopy(stub, 0, tmp, 0, off); stub = tmp; } System.arraycopy(frag, 24, stub, off, stub_frag_len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
} // Various ranges to query - all are valid! rangeHdrs := []string{ // Read first byte of object fmt.Sprintf("bytes=%d-%d", 0, 0), // Read second byte of object fmt.Sprintf("bytes=%d-%d", 1, 1), // Read last byte of object fmt.Sprintf("bytes=-%d", 1), // Read all but first byte of object "bytes=1-", // Read first half of object fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java
* * @author mbechler * */ public interface CreateContextRequest extends Encodable { /** * Get the name of this create context. * @return context name as byte array */ byte[] getName();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UUID.java
int ai = arr.length; while (ai-- > 0) { arr[ai] = HEXCHARS[value & 0xF]; value >>>= 4; } return new String(arr); } private static byte B(final int i) { return (byte) (i & 0xFF); } private static short S(final int i) { return (short) (i & 0xFFFF); } /** * Constructs a UUID from an existing rpc.uuid_t object *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
String name, ByteSinkFactory factory, String desc, byte[] bytes) { TestSuite suite = new TestSuite(name + " [" + desc + "]"); for (Method method : testMethods) { suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method)); } return suite; } private ByteSink sink; ByteSinkTester( ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
String name, ByteSinkFactory factory, String desc, byte[] bytes) { TestSuite suite = new TestSuite(name + " [" + desc + "]"); for (Method method : testMethods) { suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method)); } return suite; } private ByteSink sink; ByteSinkTester( ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
void testGetChallengeWithAddress() throws CIFSException { // Given byte[] expectedChallenge = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; when(transportPool.getChallenge(context, address)).thenReturn(expectedChallenge); // When byte[] result = transportPool.getChallenge(context, address); // Then assertNotNull(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0)