- Sort Score
- Result 10 results
- Languages All
Results 1761 - 1770 of 2,069 for one8 (0.02 sec)
-
cmd/metacache-server-pool.go
if err == nil { allAtEOF = false } errs[i] = err }(len(errs), set) errs = append(errs, nil) } } mu.Unlock() // Gather results to a single channel. // Quorum is one since we are merging across sets. err := mergeEntryChannels(ctx, inputs, results, 1) cancelList() wg.Wait() // we should return 'errs' from per disk if isAllNotFound(errs) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
// argsFor returns a map from formal name to actual value for this argumented macro invocation. // The opening parenthesis has been absorbed. func (in *Input) argsFor(macro *Macro) map[string][]Token { var args [][]Token // One macro argument per iteration. Collect them all and check counts afterwards. for argNum := 0; ; argNum++ { tokens, tok := in.collectArgument(macro) args = append(args, tokens) if tok == ')' { break }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java
assertEquals(1, result.getDocumentList().size()); } public void test_multipleBuilds() { // Test that each builder creates independent results // Create first result with one document SearchResult.SearchResultBuilder builder1 = SearchResult.create(); Map<String, Object> doc1 = new HashMap<>(); doc1.put("id", "1"); builder1.addDocument(doc1);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
import org.junit.jupiter.api.Test class WebSocketReaderTest { private val data = Buffer() private val callback = WebSocketRecorder("client") private val random = Random(0) // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test. private val serverReader = WebSocketReader( isClient = false, source = data, frameCallback = callback.asFrameCallback(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* AbstractFuture.executeListener to do so, since that method would have the ability to continue * to execute other listeners. * * What about RuntimeException? If there is a bug in set()/setValue() that produces one, it will * propagate, too, but only as far as AbstractFuture.executeListener, which will catch and log * it. */ setResult(transformResult); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR)); assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA)); /* Map must have at least one entry if not an EnumBiMap. */ assertThrows( IllegalArgumentException.class, () -> EnumBiMap.create(Collections.<Currency, Country>emptyMap())); assertThrows( IllegalArgumentException.class,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos); // Test with 16 bytes (one complete line) byte[] data1 = createTestData(16); Hexdump.hexdump(ps, data1, 0, 16); String output1 = baos.toString(); assertNotNull(output1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals(0x0001, decodedHeader.getFlags()); assertEquals(testSessionId, decodedHeader.getSessionId()); } // Duplicate testFlags method removed - keeping the first one @ParameterizedTest @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 }) @DisplayName("Should handle various message sizes") void testVariousMessageSizes(int messageSize) { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals("success", result, "Operation should succeed"); assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Circuit should be in HALF_OPEN"); // One more success should close the circuit (threshold is 2) circuitBreaker.executeWithCircuitBreaker(() -> "success2"); assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
suite.addTest( SetTestSuiteBuilder.using(new DegeneratedImmutableSetGenerator()) .named(ImmutableSetTest.class.getName() + ", degenerate") .withFeatures( CollectionSize.ONE, CollectionFeature.KNOWN_ORDER, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); suite.addTest(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0)