- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 663 for iterators (0.41 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
assertEquals(content, new String(resultData.getData())); assertEquals(1, resultData.getChildUrlSet().size()); assertEquals("http://hoge/test2.html", resultData.getChildUrlSet().iterator().next().getUrl()); } public void test_transform_urllink() { String content = "<a href=\"http://fuga/test.html\">test</a>"; final byte[] data = new String(content).getBytes();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertFalse(list.contains("chicken")); assertEquals(-1, list.indexOf("chicken")); assertEquals(-1, list.lastIndexOf("chicken")); } private static <E> Iterator<E> asIterator(E... elements) { return asList(elements).iterator(); } // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike the JDK. Therefore, we accept ClassCastException as a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.8K bytes - Viewed (0) -
internal/s3select/sql/parser.go
type OpFactor struct { Op string `parser:"@(\"+\" | \"-\")"` Right *MultOp `parser:"@@"` } // MultOp represents a single term followed by an optional sequence of // terms separated by *, / or % operators. type MultOp struct { Left *UnaryTerm `parser:"@@"` Right []*OpUnaryTerm `parser:"(@@)*"` } // OpUnaryTerm represents the right side of *, / or % binary operations. type OpUnaryTerm struct {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
} @Override public Spliterator.OfInt spliterator() { return parent.spliterator(); } @Override public PrimitiveIterator.OfInt iterator() { return Spliterators.iterator(spliterator()); } @Override public boolean equals(@Nullable Object object) { if (object instanceof AsList) { AsList that = (AsList) object;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
* 800 bytes long as the C++ reference implementation. */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4]; int bufLen = 0; long h = 0; for (int i = 0; i < iterations; ++i) { h ^= fingerprint(buf, i); h = remix(h); buf[bufLen++] = getChar(h); h ^= fingerprint(buf, i * i % bufLen);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
t.url = null; // Null URL t.numIter = 0; // No iterations to avoid NPE // Should not throw exception assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully"); assertEquals(1, t.numComplete, "numComplete should still be incremented"); } @Test @DisplayName("run method handles zero iterations") void testRunWithZeroIterations() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
tests/benchmarks/test_general_performance.py
import json import sys from collections.abc import Iterator from typing import Annotated, Any import pytest from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel if "--codspeed" not in sys.argv: pytest.skip( "Benchmark tests are skipped by default; run with --codspeed.", allow_module_level=True, ) LARGE_ITEMS: list[dict[str, Any]] = [ {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 20:40:26 UTC 2025 - 11.1K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
package cmd import ( "context" "errors" "fmt" "io" "cloud.google.com/go/storage" "github.com/minio/madmin-go/v3" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" "google.golang.org/api/option" xioutil "github.com/minio/minio/internal/ioutil" ) type warmBackendGCS struct { client *storage.Client Bucket string Prefix string
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
@Override public String getUserDomain() { if (this.realm == null && this.getSubject() != null) { Set<Principal> pr = this.getSubject().getPrincipals(); for (Iterator<Principal> ite = pr.iterator(); ite.hasNext();) { try { KerberosPrincipal entry = (KerberosPrincipal) ite.next(); return entry.getRealm(); } catch (Exception e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0)