- Sort Score
- Num 10 results
- Language All
Results 1061 - 1070 of 5,392 for same (0.03 seconds)
-
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertNotNull(id); assertTrue(id.length() <= 445); } @Test public void testCreateSuggestTextIdConsistency() { // Test that same input always produces same output String text = "consistency test"; String id1 = SuggestUtil.createSuggestTextId(text); String id2 = SuggestUtil.createSuggestTextId(text); assertEquals(id1, id2); }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val addressB = InetAddress.getByAddress("localhost", byteArrayOf(127, 0, 0, 2)) other.use { other.start(addressA, 0) // Same address is okay. other.start(addressA, 0) // Same address with bound port is okay. other.start(addressA, other.port) // Different address is not okay. assertFailsWith<IllegalStateException> {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
src/bytes/buffer.go
// Available returns how many bytes are unused in the buffer. func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) } // Truncate discards all but the first n unread bytes from the buffer // but continues to use the same allocated storage. // It panics if n is negative or greater than the length of the buffer. func (b *Buffer) Truncate(n int) { if n == 0 { b.Reset() return } b.lastRead = opInvalid
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MoreFiles.java
Path name = path.getFileName(); // null for empty paths and root-only paths if (name == null) { return ""; } String fileName = name.toString(); int dotIndex = fileName.lastIndexOf('.'); return dotIndex == -1 ? "" : fileName.substring(dotIndex + 1); } /** * Returns the file name without its <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
/** * Records an exception so that it can be rethrown later in the test harness thread, triggering a * test case failure. Only the first failure is recorded; subsequent calls to this method from * within the same test have no effect. */ final void threadRecordFailure(Throwable t) { threadFailure.compareAndSet(null, t); } /** * Extra checks that get done for all test cases. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
docs/debugging/s3-verify/main.go
} // If source doesn't have objects anymore, comparison becomes obvious if srcEOF { fmt.Printf("only in target: %s\n", tgtCtnt.Key) tgtCtnt, tgtOk = <-tgtCh continue } // The same for target if tgtEOF { fmt.Printf("only in source: %s\n", srcCtnt.Key) srcCtnt, srcOk = nextObject(srcCh) continue } if srcCtnt.Key < tgtCtnt.Key {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
} @Test public void test_getAnchorList_allDuplicates() throws Exception { final String data = "<html><body>" + "<a href=\"http://example.com/same\">link1</a>" + "<a href=\"http://example.com/same\">link2</a>" + "<a href=\"http://example.com/same\">link3</a>" + "</body></html>"; final Document document = getDocument(data); final FessXpathTransformer transformer = createAnchorListTransformer();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 62.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
* * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset, * the default implementation of this method will ensure that the original {@code CharSource} is * returned, rather than round-trip encoding. Subclasses that override this method should behave * the same way. * * @since 20.0 */ public ByteSource asByteSource(Charset charset) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
@Nullable ImmutableMapEntry<K, V>[] valueTable = createEntryArray(tableSize); /* * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry * instances, in which case it is safe to cast it from an array of nullable entries to an array * of non-null entries. */ @SuppressWarnings("nullness") Entry<K, V>[] entries =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
return requireNonNull(values); } /* * The following methods are safe to call as long as the conditions in the *previous* comment are * met *and* the index is less than size(). * * (The above explains when these methods are safe from a `nullness` perspective. From an * `unchecked` perspective, they're safe because we put only K/V elements into each array.) */ @SuppressWarnings("unchecked")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0)