Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 835 for shortly (0.25 sec)

  1. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ShortsMethodsForWeb.java

    import jsinterop.annotations.JsPackage;
    
    /** Web specializations for {@link Shorts} methods. */
    public abstract class ShortsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native short min(short... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native short max(short... array);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        @UnsupportedWithConfigurationCache(iterationMatchers = ".* project.javaexec")
        def "still fail when classpath doesn't shorten the command line enough with #method"() {
            def veryLongCommandLineArgs = getLongCommandLine(getMaxArgs() * 16)
            buildFile << """
                extraClasspath.from('${veryLongFileNames.join("','")}')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

         */
        public static boolean endsWith(CharSequence longer, CharSequence shorter) {
            if (longer instanceof String && shorter instanceof String) {
                return ((String) longer).endsWith((String) shorter);
            }
            int longerLength = longer.length();
            int shorterLength = shorter.length();
            if (longerLength < shorterLength) {
                return false;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    func TestStressSurpriseServerCloses(t *testing.T) {
    	run(t, testStressSurpriseServerCloses, []testMode{http1Mode})
    }
    func testStressSurpriseServerCloses(t *testing.T, mode testMode) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode")
    	}
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Header().Set("Content-Length", "5")
    		w.Header().Set("Content-Type", "text/plain")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelPathSuggestionProviderTest.groovy

            then:
            suggestionsFor("tasks.fooba") == ["tasks.foobar", "task.afoobar", "tasks.boofar"]
        }
    
        def "suggests model paths with Levenshtein distance lower than half it's length for strings shorter than 6 characters"() {
            when:
            availablePaths = ["fo", "bor", "for", "of", "foob"]
    
            then:
            suggestionsFor("foo") == ["fo", "foob", "for"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

             * was initialized in advance.
             * For example, When we shorten the following code:
             *     enum class C(val i: Int) {
             *         ONE(<expr>C.K</expr>)  // shorten C.K to K
             *         ;
             *         companion object {
             *             const val K = 1
             *         }
             *     }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  7. pkg/kubelet/util/util.go

    	const fqdnMaxLen = 64
    	if len(hostDomainName) > 0 && setHostnameAsFQDN != nil && *setHostnameAsFQDN {
    		fqdn := fmt.Sprintf("%s.%s", hostname, hostDomainName)
    		// FQDN has to be shorter than hostnameMaxLen characters.
    		if len(fqdn) > fqdnMaxLen {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 18:07:39 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_load_badchain.txt

    # Try to update the main module. This updates everything, including
    # modules that aren't direct requirements, so the error stack is shorter.
    go get -u ./...
    cmp stderr update-main-expected
    cmp go.mod go.mod.withc
    
    # Update manually. Listing modules should produce an error.
    cp go.mod.orig go.mod
    go mod edit -require=example.com/badchain/a@v1.1.0
    ! go list -m all
    cmp stderr list-expected
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/AbstractTestDirectoryProvider.java

                String safeMethodName = shortenPath(methodName.replaceAll("[^\\w]", "_"), 16);
                prefix = String.format("%s/%s", className, safeMethodName);
            }
        }
    
        /*
         Shorten a long name to at most {expectedMaxLength}, replace middle characters with ".".
         */
        private String shortenPath(String longName, int expectedMaxLength) {
            if (longName.length() <= expectedMaxLength) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/runtime/proc.go

    		// can resume performing those duties. If it wakes from a syscall it
    		// resets idle and delay as a bet that since it had retaken a P from a
    		// syscall before, it may need to do it again shortly after the
    		// application starts work again. It does not reset idle when waking
    		// from a timer to avoid adding system load to applications that spend
    		// most of their time sleeping.
    		now := nanotime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top