Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 243 for matches (0.15 sec)

  1. src/test/java/jcifs/tests/ReadWriteTest.java

                try {
                    try ( OutputStream os = f.getOutputStream() ) {
                        writeRandom(bufSize, length, os);
                    }
    
                    assertEquals("File size matches", length, f.length());
    
                    try ( InputStream is = f.getInputStream() ) {
                        verifyRandom(bufSize, length, is);
                    }
    
                }
                finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    func extractAPIVersion(r *http.Request) string {
    	if matches := regexVersion.FindStringSubmatch(r.URL.Path); len(matches) > 1 {
    		return matches[1]
    	}
    	return "unknown"
    }
    
    func methodNotAllowedHandler(api string) func(w http.ResponseWriter, r *http.Request) {
    	return errorResponseHandler
    }
    
    // If none of the http routes match respond with appropriate errors
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  3. internal/hash/checksum.go

    	}
    	if len(c.Encoded) == 0 || c.Type.Trailing() {
    		return c.Type.Is(ChecksumNone) || c.Type.Trailing()
    	}
    	raw := c.Raw
    	return c.Type.RawByteLen() == len(raw)
    }
    
    // Matches returns whether given content matches c.
    func (c Checksum) Matches(content []byte) error {
    	if len(c.Encoded) == 0 {
    		return nil
    	}
    	hasher := c.Type.Hasher()
    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      @GwtIncompatible // GWT reflection includes less data
      public void testLenientFormat_badArgumentToString() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches(
                // J2kt nested class name does not use "$"
                "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ "
                    + "threw java\\.lang\\.UnsupportedOperationException> plate");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import java.io.EOFException
    import java.io.IOException
    import java.net.ProtocolException
    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.internal.format
    import okio.Buffer
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        }
      }
    
      @SuppressWarnings("rawtypes") // class literals
      protected abstract List<Class<? extends AbstractTester>> getTesters();
    
      private boolean matches(Test test) {
        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      @GwtIncompatible // GWT reflection includes less data
      public void testLenientFormat_badArgumentToString() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches(
                // J2kt nested class name does not use "$"
                "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ "
                    + "threw java\\.lang\\.UnsupportedOperationException> plate");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    }
    
    // doesPresignV2SignatureMatch - Verify query headers with presigned signature
    //   - http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationQueryStringAuth
    //
    // returns ErrNone if matches. S3 errors otherwise.
    func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
    	// r.RequestURI will have raw encoded URI as sent by the client.
    	tokens := strings.SplitN(r.RequestURI, "?", 2)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        protected HtmlResponse doSearch(final ListForm form) {
            validate(form, messages -> {}, this::asListHtml);
    
            if (StringUtil.isBlank(form.q)) {
                // query matches on all documents.
                form.q = Constants.MATCHES_ALL_QUERY;
            }
            final WebRenderData renderData = new WebRenderData();
            form.initialize();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

      private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_");
    
      private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9');
    
      private static final CharMatcher LETTER_MATCHER =
          CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z'));
    
      private static final CharMatcher PART_CHAR_MATCHER =
          DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top