- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for Presence (0.06 seconds)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
/** * Creates a [Provider] that returns `true` when this [Provider] has a value * and `false` otherwise. The returned [Provider] always has a value. * @see Provider.isPresent */ private fun <T : Any> Provider<T>.presence(): Provider<Boolean> = map { true }.orElse(false) fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 18 22:01:30 GMT 2025 - 17.7K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
/// First, we create a `GzipRequest` class, which will overwrite the `Request.body()` method to decompress the body in the presence of an appropriate header. If there's no `gzip` in the header, it will not try to decompress the body. That way, the same route class can handle gzip compressed or uncompressed requests.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 4.6K bytes - Click Count (0) -
cmd/admin-router.go
return } } // Apply http tracing "middleware" based on presence of flag. var f2 http.HandlerFunc if handlerFlags.Has(traceAllFlag) { f2 = httpTraceAll(f) } else { f2 = httpTraceHdrs(f) } // call the final handler f2(w, r) } // Enable compression of responses based on presence of flag. if !handlerFlags.Has(noGZFlag) { handler = gzipHandler(handler) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 26.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* (never less than 1, never more than 2), depending on project packaging. * <p> * The list's first element is ALWAYS the project POM artifact. Presence of second element in the list depends * solely on the project packaging. * * @see #getPackaging() * @see #getPomArtifact() * @see #getMainArtifact()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally * speaking, impossible to make any hard guarantees in the presence of unsynchronized concurrent * modification. Fail-fast iterators throw {@code ConcurrentModificationException} on a * best-effort basis. Therefore, it would be wrong to write a program that depended on thisCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
if (logger instanceof AccumulatingLogger) { logger = new SystemLogger(context.invokerRequest.stdErr().orElse(null)); } // this is important message; many Maven IT assert for presence of this message logger.error("Error executing " + context.invokerRequest.parserRequest().commandName() + "."); for (Logger.Entry entry : entries) { if (showStackTrace) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
src/archive/tar/common.go
// that they are interested in preserving. type Header struct { // Typeflag is the type of header entry. // The zero value is automatically promoted to either TypeReg or TypeDir // depending on the presence of a trailing slash in Name. Typeflag byte Name string // Name of file entry Linkname string // Target name of link (valid for TypeLink or TypeSymlink) Size int64 // Logical file size in bytesCreated: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
LogLevelRecorder.class.getName(), slf4jLoggerFactory.getClass().getName()); } } // check for presence of deprecated options and print warning boolean fail = false; for (Option option : cliRequest.commandLine.getOptions()) { if (option.isDeprecated()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
src/bytes/bytes.go
r, size = utf8.DecodeLastRune(s[0:i]) } i -= size if f(r) == truth { return i } } return -1 } // asciiSet is a 32-byte value, where each bit represents the presence of a // given ASCII character in the set. The 128-bits of the lower 16 bytes, // starting with the least-significant bit of the lowest word to the // most-significant bit of the highest word, map to the full range of all
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 16:42:15 GMT 2025 - 35.5K bytes - Click Count (0) -
docs/pt/docs/how-to/custom-request-and-route.md
/// Primeiro, criamos uma classe `GzipRequest`, que irá sobrescrever o método `Request.body()` para descomprimir o corpo na presença de um cabeçalho apropriado. Se não houver `gzip` no cabeçalho, ele não tentará descomprimir o corpo. Dessa forma, a mesma classe de rota pode lidar com requisições comprimidas ou não comprimidas.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 5.1K bytes - Click Count (0)