- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 284 for derive (0.04 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java
Artifact artifact = node.getArtifact(); Map<String, String> props = new HashMap<>(artifact.getProperties()); ArtifactType derived = derive(parentType, currentType); props.putAll(derived.getProperties()); node.setArtifact(artifact.setProperties(props)); } } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
message.startsWith("Found resumable session") -> Type.Handshake message.startsWith("Resuming session") -> Type.Handshake message.startsWith("Using PSK to derive early secret") -> Type.Handshake else -> Type.Unknown } override fun toString(): String = if (param != null) { message + "\n" + param } else { message }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 2.8K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you * can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
} } private fun extractArtifactName(fileName: String): String { return jarArtifactRegex.matchEntire(fileName) ?.groupValues ?.get(1) ?: error("Cannot derive artifact name from: $fileName") } private fun minify(artifact: File, keepClasses: Set<String>, jarFile: File): File { val tempDirectory = java.nio.file.Files.createTempDirectory(jarFile.name).toFile()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 18 11:46:45 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
} finally { reachabilityFence(this); } } private <U extends @Nullable Object> ClosingFuture<U> derive(FluentFuture<U> future) { try { ClosingFuture<U> derived = new ClosingFuture<>(future); state.becomeSubsumedInto(derived.state.closeables); return derived; } finally { reachabilityFence(this); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you * can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
/* * TODO(cpovirk): It would be great to run all these tests (including class unloading) in an * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of * doing so would be to derive a separate test library by using remove_from_jar to strip out * ClassValueValidator. * * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
/* * TODO(cpovirk): It would be great to run all these tests (including class unloading) in an * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of * doing so would be to derive a separate test library by using remove_from_jar to strip out * ClassValueValidator. * * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
src/cmd/cgo/doc.go
special prefixes means that there is no way to directly reference a C identifier that starts with "struct_", "union_", "enum_", or "sizeof_", such as a function named "struct_function". A workaround is to use a "#define" in the preamble, as in "#define c_struct_function struct_function" and then in the Go code refer to "C.c_struct_function". A C function may be declared in the Go file with a parameter type of
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 08 22:37:14 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
} } /** * Creates an {@code ImmutableMap<String, String>} from a {@code Properties} instance. Properties * normally derive from {@code Map<Object, Object>}, but they typically contain strings, which is * awkward. This method lets you get a plain-old-{@code Map} out of a {@code Properties}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0)