Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 550 for Matcher (0.04 seconds)

  1. internal/hash/checksum_test.go

    	}
    
    	// Deserialize the checksum from bytes
    	chksmOut := ChecksumFromBytes(b)
    	if chksmOut == nil {
    		t.Fatal("ChecksumFromBytes returned nil")
    	}
    
    	// Assert new checksum matches the content
    	matchError := chksmOut.Matches(myData, 0)
    	if matchError != nil {
    		t.Fatalf("Checksum mismatch on chksmOut: %v", matchError)
    	}
    
    	// Assert they are exactly equal
    	if !chksmOut.Equal(chksm) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        val hasGetGetterName = method.name.matches(propertyGetterNameRegex)
        val hasIsGetterName = method.name.matches(propertyIsGetterNameRegex)
        val hasGetterName = hasGetGetterName || hasIsGetterName
        val hasSetterName = method.name.matches(propertySetterNameRegex)
        val paramCount = method.parameterTypes.size
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcher.java

     * under the License.
     */
    package org.apache.maven.toolchain;
    
    /**
     *
     */
    @Deprecated(since = "4.0.0")
    public interface RequirementMatcher {
    
        boolean matches(String requirement);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 967 bytes
    - Click Count (0)
  4. misc/chrome/gophertool/popup.js

      var box = document.getElementById("inputbox");
      box.focus();
    
      var t = box.value;
      if (t == "") {
        return false;
      }
    
      var success = function(url) {
        console.log("matched " + t + " to: " + url)
        box.value = "";
        openURL(url);
        return false;  // cancel form submission
      };
    
      var url = urlForInput(t);
      if (url) {
        return success(url);
      }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Oct 21 17:05:21 GMT 2012
    - 1020 bytes
    - Click Count (0)
  5. misc/chrome/gophertool/gopher.js

        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTree.java

        }
    
        boolean matches(final String share, final String service) {
            return this.share.equalsIgnoreCase(share)
                    && (service == null || service.startsWith("??") || this.service.equalsIgnoreCase(service));
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTree tree) {
                return matches(tree.share, tree.service);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    () -> newModelResolver().resolveModel(parent),
                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertEquals("No versions matched the requested parent version range '[2.0,2.1)'", e.getMessage());
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenUsingRangesWithoutUpperBound() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    import okio.ByteString
    
    data class SuiteId(
      val id: ByteString?,
      val name: String,
    ) {
      fun matches(suiteId: SuiteId): Boolean = id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 834 bytes
    - Click Count (0)
  9. statement.go

    	nameMatcher := regexp.MustCompile(`^(?:\W?(\w+?)\W?\.)?(?:(\*)|\W?(\w+?)\W?)$`)
    	return func(tableColumn string) (table, column string) {
    		if matches := nameMatcher.FindStringSubmatch(tableColumn); len(matches) == 4 {
    			table = matches[1]
    			star := matches[2]
    			columnName := matches[3]
    			if star != "" {
    				return table, star
    			}
    			return table, columnName
    		}
    		return "", ""
    	}
    }()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  10. src/main/webapp/js/clipboard.min.js

    this.listener.destroy()}}])&&d(t.prototype,e),n&&d(t,n),r}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var u=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t....
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top