- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 823 for count (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
// Poll all items int count = 0; while (true) { final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId); if (polled == null) { break; } count++; assertTrue(polled.getUrl().startsWith("http://www.example.com/page")); } assertEquals(5, count); urlQueueService.delete(sessionId);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 14.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl
typedef struct { [string] wchar_t *netname; } ShareInfo0; typedef struct { int count; [size_is(count)] ShareInfo0 *array; } ShareInfoCtr0; typedef struct { [string] wchar_t *netname; int type; [string] wchar_t *remark; } ShareInfo1; typedef struct { int count; [size_is(count)] ShareInfo1 *array; } ShareInfoCtr1; typedef struct { [string] wchar_t *netname;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.2K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
assertThat(requestedHosts).containsExactly(*expectedHosts) requestedHosts.clear() } /** Allocates and returns `count` fake IPv4 addresses like [255.0.0.100, 255.0.0.101]. */ fun allocate(count: Int): List<InetAddress> { val from = nextAddress nextAddress += count return (from until nextAddress) .map { return@map InetAddress.getByAddress(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 20:20:29 GMT 2026 - 2.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
public static String repeat(String string, int count) { checkNotNull(string); // eager for GWT. if (count <= 1) { checkArgument(count >= 0, "invalid count: %s", count); return (count == 0) ? "" : string; } // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark int len = string.length(); long longSize = (long) len * (long) count; int size = (int) longSize;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
tests/test_security_scopes.py
from fastapi.testclient import TestClient @pytest.fixture(name="call_counter") def call_counter_fixture(): return {"count": 0} @pytest.fixture(name="app") def app_fixture(call_counter: dict[str, int]): def get_db(): call_counter["count"] += 1 return f"db_{call_counter['count']}" def get_user(db: Annotated[str, Depends(get_db)]): return "user" app = FastAPI()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1006 bytes - Click Count (0) -
internal/lock/lock_test.go
if err != nil { t.Fatal(err) } isClosed := rlk.IsClosed() if isClosed { t.Fatal("File ref count shouldn't be zero") } // Increase reference count to 2. rlk.IncLockRef() isClosed = rlk.IsClosed() if isClosed { t.Fatal("File ref count shouldn't be zero") } // Decrease reference count by 1. if err = rlk.Close(); err != nil { t.Fatal(err) } isClosed = rlk.IsClosed()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
setScopedVertices(scopedVertices); this.versionedVertices = scopedVertices || versionedVertices; this.scopedVertices = scopedVertices; int count = countNodes(tree); init(count, count + (count / 2)); processTreeNodes(null, tree, 0, 0); } // ------------------------------------------------------------------------
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
final int start = dstIndex; dst[dstIndex] = (byte) 0x01; /* BufferFormat */ dstIndex++; writeInt2(count, dst, dstIndex); /* DataLength? */ dstIndex += 2; System.arraycopy(b, off, dst, dstIndex, count); dstIndex += count; return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CountTest.java
} public void testAddAndGet() { Count holder = new Count(20); assertEquals(21, holder.addAndGet(1)); } public void testGetAndSet() { Count holder = new Count(10); assertEquals(10, holder.getAndSet(20)); assertEquals(20, holder.get()); } public void testSet() { Count holder = new Count(10); holder.set(20); assertEquals(20, holder.get()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
newEntry = canReuseEntry ? (ImmutableEntry<E>) entry : new ImmutableEntry<E>(element, count); } else { newEntry = new NonTerminalEntry<>(element, count, bucketHead); } hashCode += hash ^ count; entryArray[index++] = newEntry; hashTable[bucket] = newEntry; size += count; } return hashFloodingDetected(hashTable)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0)