- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 629 for Pack (0.07 seconds)
-
guava-tests/test/com/google/common/math/PairedStatsTest.java
public void testToByteArrayAndFromByteArrayRoundTrip() { for (PairedStats pairedStats : ALL_PAIRED_STATS) { byte[] pairedStatsByteArray = pairedStats.toByteArray(); // Round trip to byte array and back assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats); } } public void testFromByteArray_withNullInputThrowsNullPointerException() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
* * @author Kevin Bourrillion */ @GwtCompatible abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E> implements Serializable { // TODO(lowasser): consider overhauling this back to Map<E, Integer> private transient Map<E, Count> backingMap; /* * Cache the size for efficiency. Using a long lets us avoid the need for * overflow checking and ensures that size() will function correctly even if
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/api-headers.go
if tags != nil && tags.Count() > 0 { w.Header()[xhttp.AmzTagCount] = []string{strconv.Itoa(tags.Count())} if opts.Tagging { // This is MinIO only extension to return back tags along with the count. w.Header()[xhttp.AmzObjectTagging] = []string{objInfo.UserTags} } } } // Set all other user defined metadata. for k, v := range objInfo.UserDefined {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
} /** * Ignored due to incompatibilities between Android and Java on how non-ASCII subject alt names * are parsed. Android fails to parse these, which means we fall back to the CN. The RI does parse * them, so the CN is unused. */ @Test fun verifyNonAsciiSubjectAlt() { // Expecting actual: // ["bar.com", "è±å.co.jp"] // to contain exactly (and in same order):
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 40.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashSet.java
* input. */ @VisibleForTesting( ) static final double HASH_FLOODING_FPP = 0.001; /** * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based * implementation. Experimentally determined. */ private static final int MAX_HASH_BUCKET_LENGTH = 9;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
case JAVABIN -> SerializeUtil.fromObjectToBinary(obj); default -> throw new IllegalArgumentException("Unexpected value: " + serializer); }; } /** * Deserializes a byte array back to an object. * <p> * The deserialization method used depends on the configured serializer type. * Supported types are Kryo and JavaBin deserialization. * </p> *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
// https://github.com/gradle/gradle-private/issues/3991 System.out.println("Gradle runner not finished correctly (the build may be canceled). Fall back to KILL_ALL_GRADLE_PROCESSES."); executionMode = ExecutionMode.KILL_ALL_GRADLE_PROCESSES; } } private static void writePsOutputToFile(File rootProjectDir, List<String> psOutput) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
int totalBytesRead = 0; boolean doneEncoding = endOfInput; DRAINING: while (true) { // We stay in draining mode until there are no bytes left in the output buffer. Then we go // back to encoding/flushing. if (draining) { totalBytesRead += drain(b, off + totalBytesRead, len - totalBytesRead); if (totalBytesRead == len || doneFlushing) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false, // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9. byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER); byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
byte[] buffer = new byte[1024]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Verify filename is written and can be read back String actualFilename = readString(buffer, 12, written - 12); assertEquals(filename, actualFilename); } @Test void testResetMultipleTimes() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0)