Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 541 for Matches (0.1 seconds)

  1. src/bufio/scan.go

    	if !atEOF && !utf8.FullRune(data) {
    		// Incomplete; get more bytes.
    		return 0, nil, nil
    	}
    
    	// We have a real UTF-8 encoding error. Return a properly encoded error rune
    	// but advance only one byte. This matches the behavior of a range loop over
    	// an incorrectly encoded string.
    	return 1, errorRune, nil
    }
    
    // dropCR drops a terminal \r from the data.
    func dropCR(data []byte) []byte {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. misc/go_android_exec/main.go

    	w      io.Writer // Pass through to w
    	exitRe *regexp.Regexp
    	buf    bytes.Buffer
    }
    
    func newExitCodeFilter(w io.Writer) (*exitCodeFilter, string) {
    	const exitStr = "exitcode="
    
    	// Build a regexp that matches any prefix of the exit string at the end of
    	// the input. We do it this way to avoid assuming anything about the
    	// subcommand output (e.g., it might not be \n-terminated).
    	var exitReStr strings.Builder
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  3. cmd/storage-datatypes.go

    func (fi FileInfo) ReadQuorum(dquorum int) int {
    	if fi.Deleted {
    		return dquorum
    	}
    	return fi.Erasure.DataBlocks
    }
    
    // Equals checks if fi(FileInfo) matches ofi(FileInfo)
    func (fi FileInfo) Equals(ofi FileInfo) (ok bool) {
    	typ1, ok1 := crypto.IsEncrypted(fi.Metadata)
    	typ2, ok2 := crypto.IsEncrypted(ofi.Metadata)
    	if ok1 != ok2 {
    		return false
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @param fields an array of field names to match against the TermQuery objects
         * @return a list of TermQuery objects that match the specified fields, or an empty list if no matches are found
         */
        public static List<TermQuery> getTermQueryList(final Query query, final String[] fields) {
            if (query instanceof final BooleanQuery booleanQuery) {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                    assertTrue("Child URL should be properly formed", childUrl.contains("dir1/test3.txt"));
                    assertTrue("Child URL should contain 'child' not 'chile'", childUrl.matches(".*dir1/test3\\.txt"));
                }
            } finally {
                if (server != null) {
                    server.stop();
                }
            }
        }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

                    final ListObjectsV2Response listResponse = awsS3Client.listObjectsV2(listRequest);
    
                    // Add objects (excluding the prefix itself if it matches exactly)
                    for (final S3Object s3Object : listResponse.contents()) {
                        final String objectKey = s3Object.key();
                        if (!objectKey.equals(path)) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          CallEnd::class,
        )
      }
    
      private fun assertBytesReadWritten(
        listener: EventRecorder,
        requestHeaderLength: Matcher<Long?>?,
        requestBodyBytes: Matcher<Long?>?,
        responseHeaderLength: Matcher<Long?>?,
        responseBodyBytes: Matcher<Long?>?,
      ) {
        if (requestHeaderLength != null) {
          val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/net/MediaType.java

          checkState(position != startPosition);
          return token;
        }
    
        char consumeCharacter(CharMatcher matcher) {
          checkState(hasMore());
          char c = previewChar();
          checkState(matcher.matches(c));
          position++;
          return c;
        }
    
        @CanIgnoreReturnValue
        char consumeCharacter(char c) {
          checkState(hasMore());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  9. src/bufio/scan_test.go

    import (
    	. "bufio"
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    )
    
    const smallMaxTokenSize = 256 // Much smaller for more efficient testing.
    
    // Test white space table matches the Unicode definition.
    func TestSpace(t *testing.T) {
    	for r := rune(0); r <= utf8.MaxRune; r++ {
    		if IsSpace(r) != unicode.IsSpace(r) {
    			t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r))
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                final int localPort, final String hostName, final boolean forceSigning, final boolean connectedOnly) {
            for (final SmbTransportImpl conn : this.connections) {
                if (conn.matches(address, port, localAddr, localPort, hostName)
                        && (tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit())) {
                    try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top