Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for maxarg (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

         * will not be used and a network request will be made.
         *
         * @param maxAge a non-negative duration. This is stored and transmitted with [TimeUnit.SECONDS]
         *     precision; finer precision will be lost.
         */
        fun maxAge(maxAge: Duration) =
          apply {
            val maxAgeSeconds = maxAge.inWholeSeconds
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .desc("Alternate path for the user settings file")
                    .hasArg()
                    .build());
            options.addOption(Option.builder(ALTERNATE_PROJECT_SETTINGS)
                    .longOpt("project-settings")
                    .desc("Alternate path for the project settings file")
                    .hasArg()
                    .build());
            options.addOption(Option.builder(ALTERNATE_GLOBAL_SETTINGS)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/testflag.go

    			}
    
    			if nd.RawArg == "-args" || nd.RawArg == "--args" {
    				// -args or --args signals that everything that follows
    				// should be passed to the test.
    				explicitArgs = append(explicitArgs, remainingArgs...)
    				break
    			}
    
    			if firstUnknownFlag == "" {
    				firstUnknownFlag = nd.RawArg
    			}
    
    			explicitArgs = append(explicitArgs, nd.RawArg)
    			args = remainingArgs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

            }
        }
    
        @Test
        fun `maps Groovy named arguments to Kotlin vararg of Pair`() {
    
            apiKotlinExtensionsGenerationFor(GroovyNamedArguments::class, Consumer::class) {
    
                assertGeneratedExtensions(
                    """
                    inline fun org.gradle.kotlin.dsl.fixtures.codegen.GroovyNamedArguments.`rawMap`(vararg `args`: Pair<String, Any?>): Unit =
                        `rawMap`(mapOf(*`args`))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    	}
    
    	max := 0
    	for err, count := range errorCounts {
    		switch {
    		case max < count:
    			max = count
    			maxErr = err
    
    		// Prefer `nil` over other error values with the same
    		// number of occurrences.
    		case max == count && err == nil:
    			maxErr = err
    		}
    	}
    	return max, maxErr
    }
    
    // reduceQuorumErrs behaves like reduceErrs by only for returning
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("role info is expired: {} > {}", time, maxAge);
                            }
                            return;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/script/engine.go

    			if !quoted {
    				// starting a quoted chunk
    				if start >= 0 {
    					rawArg = append(rawArg, argFragment{s: line[start:i], quoted: false})
    				}
    				start = i + 1
    				quoted = true
    				continue
    			}
    			// 'foo''bar' means foo'bar, like in rc shell and Pascal.
    			if i+1 < len(line) && line[i+1] == '\'' {
    				rawArg = append(rawArg, argFragment{s: line[start:i], quoted: true})
    				start = i + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            fun assertHasInformation(vararg information: String) {
                assertThat("Has information", richReport.information.map { it.message }, CoreMatchers.equalTo(information.toList()))
            }
    
            fun assertHasAccepted(vararg accepted: String) {
                assertThat("Has accepted", richReport.accepted.map { it.message }, CoreMatchers.equalTo(accepted.toList()))
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractKotlinIntegrationTest.kt

            File(projectRoot, relativePath).canonicalFile
    
        fun build(vararg arguments: String): ExecutionResult =
            gradleExecuterFor(arguments).run()
    
        protected
        fun buildFailureOutput(vararg arguments: String): String =
            buildAndFail(*arguments).error
    
        protected
        fun buildAndFail(vararg arguments: String): ExecutionFailure =
            gradleExecuterFor(arguments).runWithFailure()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 16:44:39 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/net/http/cookie.go

    	Domain     string    // optional
    	Expires    time.Time // optional
    	RawExpires string    // for reading cookies only
    
    	// MaxAge=0 means no 'Max-Age' attribute specified.
    	// MaxAge<0 means delete cookie now, equivalently 'Max-Age: 0'
    	// MaxAge>0 means Max-Age attribute present and given in seconds
    	MaxAge      int
    	Secure      bool
    	HttpOnly    bool
    	SameSite    SameSite
    	Partitioned bool
    	Raw         string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top