Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 291 for suffix (0.04 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy

        private static final Pattern JDK_HOME_LOGLINE = Pattern.compile("JDK HOME: (.*)")
    
        @Unroll
        def "jdk #jdkVendor for #platform#suffix are downloaded and extracted"() {
            given:
            def mockRepoUrl = urlPath(jdkVendor, jdkVersion, platform, arch);
            def mockedContent = filebytes(jdkVendor, platform)
            buildFile.text = """
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 10.5K bytes
    - Click Count (0)
  2. src/bytes/example_test.go

    	// CutPrefix("Gopher", "Go") = "pher", true
    	// CutPrefix("Gopher", "ph") = "Gopher", false
    }
    
    func ExampleCutSuffix() {
    	show := func(s, suffix string) {
    		before, found := bytes.CutSuffix([]byte(s), []byte(suffix))
    		fmt.Printf("CutSuffix(%q, %q) = %q, %v\n", s, suffix, before, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "er")
    	// Output:
    	// CutSuffix("Gopher", "Go") = "Gopher", false
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. cmd/object-api-utils.go

    	return strings.HasPrefix(s, prefix)
    }
    
    // HasSuffix - Suffix matcher string matches suffix in a platform specific way.
    // For example on windows since its case insensitive we are supposed
    // to do case insensitive checks.
    func HasSuffix(s string, suffix string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return strings.HasSuffix(strings.ToLower(s), strings.ToLower(suffix))
    	}
    	return strings.HasSuffix(s, suffix)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

        }
    
        /**
         * Returns the name of this searcher.
         * The name is derived from the class name by converting it to lowercase
         * and removing the "Searcher" suffix.
         *
         * @return the searcher name
         */
        public String getName() {
            if (name == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

          throw IllegalStateException("Unable to load $path resource.").apply {
            initCause(readFailure)
          }
        }
      }
    
      abstract val path: Any
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
       * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
       * operation, it will be re-interrupted after the list is read.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. CHANGELOG.md

     *  Fix: Recover gracefully when a cached response is corrupted on disk.
    
     *  Fix: Don't leak file handles when a cache disk write fails.
    
     *  Fix: Don't hang when the public suffix database cannot be loaded. We had a bug where a failure
        reading the public suffix database would cause subsequent reads to hang when they should have
        crashed.
    
     *  Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  7. src/archive/zip/zip_test.go

    		if !generatesZip64(t, gen(0xffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    // suffixSaver is an io.Writer & io.ReaderAt that remembers the last 0
    // to 'keep' bytes of data written to it. Call Suffix to get the
    // suffix bytes.
    type suffixSaver struct {
    	keep  int
    	buf   []byte
    	start int
    	size  int64
    }
    
    func (ss *suffixSaver) Size() int64 { return ss.size }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          ImmutableSet.of("www", "foo.ihopethiswillneverbeapublicsuffix", "x.y.z");
    
      /**
       * Having a public suffix is equivalent to having a registry suffix, because all registry suffixes
       * are public suffixes, and all public suffixes have registry suffixes.
       */
      private static final ImmutableSet<String> NO_RS = NO_PS;
    
      private static final ImmutableSet<String> NON_PS =
          ImmutableSet.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

                if (name.endsWith(SHA_EXTENSION)) {
                    shaFiles.add(file);
                } else if (name.endsWith("-LICENSE") || name.endsWith("-LICENSE.txt")) {
                    // TODO: why do we support suffix of LICENSE *and* LICENSE.txt??
                    licenses.put(name, false);
                } else if (name.contains("-NOTICE") || name.contains("-NOTICE.txt")) {
                    notices.put(name, false);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertNotNull(s, "toString should not be null");
            assertTrue(s.startsWith("SmbComLogoffAndX["), "expected prefix " + "SmbComLogoffAndX[" + " but got " + s);
            assertTrue(s.endsWith("]"), "expected suffix ] but got " + s);
            String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1);
            assertFalse(inner.isEmpty(), "inner part of toString should not be empty");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top