- Sort Score
- Num 10 results
- Language All
Results 2161 - 2170 of 2,371 for Try (0.02 seconds)
-
cmd/metacache-stream_test.go
} want := []string{"src/compress/zlib/reader_test.go", "src/compress/zlib/writer.go", "src/compress/zlib/writer_test.go"} if !reflect.DeepEqual(names, want) { t.Errorf("got unexpected result: %#v", names) } // Try with prefix r = loadMetacacheSample(t) err = r.forwardTo("src/compress/zlib/reader_t") if err != nil { t.Fatal(err) } names, err = r.readNames(-1) if err != io.EOF { t.Fatal(err) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
} protected int doExecute(MavenContext context, MavenExecutionRequest request) throws Exception { context.eventSpyDispatcher.onEvent(request); MavenExecutionResult result; try { result = context.maven.execute(request); context.eventSpyDispatcher.onEvent(result); } finally { context.eventSpyDispatcher.close(); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
} builder.put(key, valuesBuilder.build()); tmpSize += valueCount; } ImmutableMap<Object, ImmutableList<Object>> tmpMap; try { tmpMap = builder.buildOrThrow(); } catch (IllegalArgumentException e) { throw (InvalidObjectException) new InvalidObjectException(e.getMessage()).initCause(e); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.3K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
// ErrIsNotEmpty is returned when the buffer is not empty and not blocking. ErrIsNotEmpty = errors.New("ringbuffer is not empty") // ErrAcquireLock is returned when the lock is not acquired on Try operations. ErrAcquireLock = errors.New("unable to acquire lock") // ErrWriteOnClosed is returned when write on a closed ringbuffer. ErrWriteOnClosed = errors.New("write on closed ringbuffer") )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
* map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand. */ @Override public void testRemove() { Map<String, Map<Integer, Character>> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } String keyToRemove = map.keySet().iterator().next(); if (supportsRemove) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 35.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TableCollectionTest.java
* map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand. */ @Override public void testRemove() { Map<String, Map<Integer, Character>> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } String keyToRemove = map.keySet().iterator().next(); if (supportsRemove) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
assertDoesNotThrow(() -> mockReferralData.append(null)); // Test with concrete implementation - behavior depends on implementation // May throw NullPointerException try { concreteImplementation.append(null); } catch (NullPointerException e) { // Expected for some implementations } } } @Nested
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/bufio/scan.go
// yet hold a complete token, for instance if it has no newline while // scanning lines, a [SplitFunc] can return (0, nil, nil) to signal the // [Scanner] to read more data into the slice and try again with a // longer slice starting at the same point in the input. // // The function is never called with an empty data slice unless atEOF // is true. If atEOF is true, however, data may be non-empty and,
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) -
misc/go_android_exec/main.go
gorootPath = runtime.GOROOT() if gorootPath != "" { return } // runtime.GOROOT is empty — perhaps go_android_exec was built with // -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback, // assuming that the 'go' command in $PATH is the correct one. cmd := exec.Command("go", "env", "GOROOT") cmd.Stderr = os.Stderr out, err := cmd.Output() if err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* The pointer to a key is stored in hashTable[Hashing.smear(key.hashCode()) % table.length], * save that if that location is already full, we try the next index, and the next, until we * find an empty table position. Since the table has a power-of-two size, we use * & (table.length - 1) instead of % table.length, though. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.5K bytes - Click Count (0)