- Sort Score
- Num 10 results
- Language All
Results 961 - 970 of 1,273 for 1byte (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt
import okio.ByteString /** * Like a [ByteString], but whose bits are not necessarily a strict multiple of 8. */ internal data class BitString( val byteString: ByteString, /** 0-7 unused bits in the last byte. */ val unusedBitsCount: Int, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + byteString.hashCode()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.1K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
try (BufferedInputStream bis = new BufferedInputStream(handler.get()); ContentOutputStream dfos = new ContentOutputStream(threshold, Curl.tmpDir)) { final byte[] bytes = new byte[4096]; int length = bis.read(bytes); while (length != -1) { if (length != 0) { final int len = length;
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
cmd/xl-storage-format_test.go
} // Proceed to include new part info. m.Parts[partNumber-1] = partInfo } // Constructs xlMetaV1Object{} for given number of parts and converts it into bytes. func getXLMetaBytes(totalParts int) []byte { xlSampleMeta := getSampleXLMeta(totalParts) xlMetaBytes, err := json.Marshal(xlSampleMeta) if err != nil { panic(err) } return xlMetaBytes }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
import okio.FileNotFoundException import okio.FileSystem import okio.IOException import okio.Options import okio.Path import okio.use @JvmField internal val EMPTY_BYTE_ARRAY: ByteArray = ByteArray(0) /** Byte order marks. */ internal val UNICODE_BOMS = Options.of( // UTF-8. "efbbbf".decodeHex(), // UTF-16BE. "feff".decodeHex(), // UTF-32LE. "fffe0000".decodeHex(), // UTF-16LE.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Arrange - Mock a server that supports NTLM mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")), new ByteArrayInputStream(new byte[0])); // Act - Trigger handshake int responseCode = ntlmConnection.getResponseCode(); // Assert - Verify we got the 401 response (simplified test)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
return session; } private static final char[] HEX_CODE = "0123456789ABCDEF".toCharArray(); private static String printHexBinary(byte[] data) { StringBuilder r = new StringBuilder(data.length * 2); for (byte b : data) { r.append(HEX_CODE[(b >> 4) & 0xF]); r.append(HEX_CODE[(b & 0xF)]); } return r.toString(); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
misc/ios/go_ios_exec.go
if err := os.WriteFile(entitlementsPath, []byte(entitlementsPlist()), 0744); err != nil { return err } if err := os.WriteFile(filepath.Join(appdir, "Info.plist"), []byte(infoPlist(pkgpath)), 0744); err != nil { return err } if err := os.WriteFile(filepath.Join(appdir, "ResourceRules.plist"), []byte(resourceRules), 0744); err != nil { return err } return nil }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Sep 16 00:34:45 GMT 2025 - 8.7K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvChannelBindings.java
*/ public class AvChannelBindings extends AvPair { /** * Constructs an AV channel bindings pair * @param channelBindingHash the channel binding hash value */ public AvChannelBindings(final byte[] channelBindingHash) { super(AvPair.MsvAvChannelBindings, channelBindingHash); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
return this.access; } @Override public SID getSID() { return this.sid; } @Override public int decode(final byte[] buf, int bi, final int len) { this.allow = buf[bi] == (byte) 0x00; bi++; this.flags = buf[bi++] & 0xFF; final int size = SMBUtil.readInt2(buf, bi); bi += 2; this.access = SMBUtil.readInt4(buf, bi);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java
private final Random random; public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in)); this.random = checkNotNull(random); } @Override public int read(byte[] b, int off, int len) throws IOException { return super.read(b, off, random.nextInt(len) + 1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0)