- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 430 for count1s (0.05 seconds)
-
src/bufio/scan.go
ErrTooLong = errors.New("bufio.Scanner: token too long") ErrNegativeAdvance = errors.New("bufio.Scanner: SplitFunc returns negative advance count") ErrAdvanceTooFar = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input") ErrBadReadCount = errors.New("bufio.Scanner: Read returned impossible count") ) const ( // MaxScanTokenSize is the maximum size used to buffer a token
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
tests/lru_test.go
t.Fatalf("value differs from expected") } if lc.Resize(0) != 0 { t.Fatalf("evicted count differs from expected") } if lc.Resize(2) != 0 { t.Fatalf("evicted count differs from expected") } lc.Add("key2", "val2") if lc.Resize(1) != 1 { t.Fatalf("evicted count differs from expected") } } func TestLRUEdgeCases(t *testing.T) { lc := lru.NewLRU[string, *string](2, nil, 0)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
// Fail 5 times, succeed on 6th attempt when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> { int count = attemptCount.incrementAndGet(); if (count <= 5) { throw new RuntimeException("Simulated failure #" + count); } return "Success"; }); final String result = fesenClient.get(c -> mockFuture);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
} }, PROJECT_PREFIXES, false); List<ValueSource> valueSources = new ArrayList<>(9); // NOTE: Order counts here! valueSources.add(basedirValueSource); valueSources.add(baseUriValueSource); valueSources.add(new BuildTimestampValueSource(config.getBuildStartTime(), timestampFormat));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
* modified concurrently), or it might have been only an estimate to begin with (for a * collection like ConcurrentHashMap, which sums up several counters that may not be in * sync with one another). We accommodate that by resizing as necessary. */ toJoin = Arrays.copyOf(toJoin, expandedCapacity(toJoin.length, toJoin.length + 1)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
} @J2ktIncompatible // MapMaker @VisibleForTesting static class ArbitraryOrdering extends Ordering<@Nullable Object> { private final AtomicInteger counter = new AtomicInteger(0); private final ConcurrentMap<Object, Integer> uids = Platform.tryWeakKeys(new MapMaker()).makeMap(); private Integer getUid(Object obj) { Integer uid = uids.get(obj);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java
if (pluginBindings != null) { final int len = pluginBindings.length; if (len < 2 || len % 2 != 0) { throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements"); } defaultBindings = new LinkedHashMap<>(len / 2); for (int i = 0; i < len; i += 2) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
internal/config/server.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertNull(crawlingConfigHelper.getCrawlingConfig("W123")); } @Test public void test_store_counterIncrement() { final String sessionId = "testSession"; // Test counter increment String sessionCountId1 = crawlingConfigHelper.store(sessionId, crawlingConfigHelper.getCrawlingConfig("W1")); assertEquals("testSession-1", sessionCountId1);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
long now = System.currentTimeMillis(); lastFailureTimes.entrySet().removeIf(entry -> now - entry.getValue() > FAILURE_RECOVERY_TIME * 2); // Clean up old consecutive failure counters consecutiveFailures.entrySet().removeIf(entry -> { String key = entry.getKey(); Long lastFailure = lastFailureTimes.get(key);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0)