- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 443 for wrap (0.19 seconds)
-
android/guava/src/com/google/common/reflect/TypeResolver.java
} private @Nullable Type captureNullable(@Nullable Type type) { if (type == null) { return null; } return capture(type); } } /** * Wraps around {@code TypeVariable<?>} to ensure that any two type variables are equal as long as * they are declared by the same {@link java.lang.reflect.GenericDeclaration} and have the same * name, even if their bounds differ.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
} /** * Sets.cartesianProduct doesn't allow sets that contain null, but we want null to mean "don't * call the associated CacheBuilder method" - that is, get the default CacheBuilder behavior. This * method wraps the elements in the input sets (which may contain null) as Optionals, calls * Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 7.5K bytes - Click Count (0) -
internal/http/transports.go
} func (u *uaTransport) RoundTrip(req *http.Request) (*http.Response, error) { req2 := req.Clone(req.Context()) req2.Header.Set("User-Agent", u.ua) return u.rt.RoundTrip(req2) } // WithUserAgent wraps an existing transport with custom User-Agent func WithUserAgent(rt http.RoundTripper, getUA func() string) http.RoundTripper { return &uaTransport{ ua: getUA(), rt: rt, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (0) -
internal/deadlineconn/deadlineconn.go
c.mu.Lock() defer c.mu.Unlock() c.abortWrites.Store(!t.IsZero() && time.Until(t) < 0) c.infWrites.Store(t.IsZero()) c.writeSetAt = time.Time{} return c.Conn.SetWriteDeadline(t) } // Close wraps conn.Close and stops sending deadline updates. func (c *DeadlineConn) Close() error { c.abortReads.Store(true) c.abortWrites.Store(true) return c.Conn.Close() }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
return computingFunction.apply(checkNotNull(key)); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns a {@code CacheLoader} which wraps {@code loader}, executing calls to {@link * CacheLoader#reload} using {@code executor}. * * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
@Internal String getAddressAndPort() { return portsFile.readLines("UTF-8").get(0) } /** Returns a file that wraps around the actual command when {@code spawn == true}. */ @Internal protected File getWrapperScript() { return new File(cwd, Os.isFamily(Os.FAMILY_WINDOWS) ? 'run.bat' : 'run') }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
maven-tests/mvnw
esac # prepare tmp dir if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; } trap clean HUP INT TERM EXIT else die "cannot create temp dir" fi mkdir -p -- "${MAVEN_HOME%/*}" # Download and Install Apache Maven verbose "Couldn't find MAVEN_HOME, downloading and installing it ..."
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(cfg.isIgnoreCopyToException()).thenReturn(ignore); when(ctx.getConfig()).thenReturn(cfg); return ctx; } @Test @DisplayName("copyFile wraps and throws when ignoreCopyToException=false") void copyFile_throwsWhenIgnoreFalse() throws Exception { // Arrange SmbFile src = mock(SmbFile.class, RETURNS_DEEP_STUBS);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
docs/bucket/replication/setup_3site_replication.sh
#!/usr/bin/env bash echo "Running $0" if [ -n "$TEST_DEBUG" ]; then set -x fi trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" for site in sitea siteb sitec; do echo "$site server logs =========" cat "/tmp/${site}_1.log" echo "===========================" cat "/tmp/${site}_2.log" done fi echo "Cleaning up instances of MinIO"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 10.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
protected Iterator<Integer> newTargetIterator() { return newArrayList(2, 1, 3).iterator(); } }; assertFailure(tester); } /** * This Iterator wraps another iterator and gives it a bug found in JDK6. * * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0)