- Sort Score
- Result 10 results
- Languages All
Results 801 - 810 of 1,107 for bound (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
var bitCount = 0L for (i in 0 until bytes.size) { val byteIn = bytes[i] and 0xff bitCount += CODE_BIT_COUNTS[byteIn].toLong() } return ((bitCount + 7) shr 3).toInt() // Round up to an even byte. } fun decode( source: BufferedSource, byteCount: Long, sink: BufferedSink, ) { var node = root var accumulator = 0 var accumulatorBitCount = 0Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
* * @param annotations the annotation types requested to be processed * @param roundEnv environment for information about the current and prior round * @return whether or not the set of annotations are claimed by this processor */ @Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { logMessage(Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 7.8K bytes - Viewed (0) -
src/bytes/compare_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytes_test import ( . "bytes" "fmt" "testing" ) var compareTests = []struct { a, b []byte i int }{ {[]byte(""), []byte(""), 0}, {[]byte("a"), []byte(""), 1}, {[]byte(""), []byte("a"), -1}, {[]byte("abc"), []byte("abc"), 0},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
assertTrue(confPath.toString().contains("dir2")); assertTrue(confPath.toString().contains("file.conf")); } public void test_getConfOrClassesPath() { // Test behavior when resource is not found try { Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf"); fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test decode with maximum file name length") void testDecodeMaxFileNameLength() throws SMBProtocolDecodingException { // Create a very long filename (but within reasonable bounds) StringBuilder sb = new StringBuilder(); for (int i = 0; i < 255; i++) { sb.append('A'); } String longFileName = sb.toString();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)"); // In the opposite direction, an out-of-bounds occurs internally and is caught as false assertFalse(longer.equals(shorter), "Longer does not equal shorter (implementation behavior)"); } // Confirms equals() returns false when content differs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
if (dst[i] == (byte) 0x04) { secondBufferFormatIndex = i; break; } } assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found"); assertEquals((byte) 0x04, dst[secondBufferFormatIndex]); assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
void testOpenConnection_UnknownProtocol_ThrowsIOException() { // This test verifies that attempting to open a connection for an unsupported protocol // results in an IOException, as no default handler should be found. assertThrows(IOException.class, () -> { handler.openConnection(new URL("unknownprotocol://somehost/path")); }, "Should throw IOException for an unknown protocol."); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
} /** * Retrieves a character mapping item by its ID. * * @param id the unique identifier of the mapping item to retrieve * @return an OptionalEntity containing the mapping item if found, empty otherwise */ @Override public OptionalEntity<CharMappingItem> get(final long id) { if (mappingItemList == null) { reload(null); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
*/ @GwtCompatible public final class Comparators { private Comparators() {} /** * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is * reached, but not the other, the shorter iterable is considered to be less than the longer one.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0)