Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 585 for longerst (0.28 sec)

  1. src/strings/replace_test.go

    		"aaa", "3[aaa]",
    		"aa", "2[aa]",
    		"a", "1[a]",
    		"i", "i",
    		"longerst", "most long",
    		"longer", "medium",
    		"long", "short",
    		"xx", "xx",
    		"x", "X",
    		"X", "Y",
    		"Y", "Z",
    	)
    	testCases = append(testCases,
    		testCase{gen1, "fooaaabar", "foo3[aaa]b1[a]r"},
    		testCase{gen1, "long, longerst, longer", "short, most long, medium"},
    		testCase{gen1, "xxxxx", "xxxxX"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            // We've chosen a connection to evict. Confirm it's still okay to be evicted, then close it.
            toEvict.withLock {
              if (toEvict.calls.isNotEmpty()) return 0L // No longer idle.
              if (toEvict.idleAtNs != toEvictIdleAtNs) return 0L // No longer oldest.
              toEvict.noNewExchanges = true
              connections.remove(toEvict)
            }
            addressStates[toEvict.route.address]?.scheduleOpener()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

    }
    
    /** Encodes an IPv6 address in canonical form according to RFC 5952. */
    internal fun inet6AddressToAscii(address: ByteArray): String {
      // Go through the address looking for the longest run of 0s. Each group is 2-bytes.
      // A run must be longer than one group (section 4.2.2).
      // If there are multiple equal runs, the first one must be used (section 4.2.3).
      var longestRunOffset = -1
      var longestRunLength = 0
      run {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. src/regexp/regexp.go

    	// This field can be modified by the Longest method,
    	// but it is otherwise read-only.
    	longest bool // whether regexp prefers leftmost-longest match
    }
    
    // String returns the source text used to compile the regular expression.
    func (re *Regexp) String() string {
    	return re.expr
    }
    
    // Copy returns a new [Regexp] object copied from re.
    // Calling [Regexp.Longest] on one copy does not affect another.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. src/regexp/exec_test.go

    	re.longest = false
    	return re.MatchString(text), ""
    }
    
    func matchFullLongest(re, refull *Regexp, text string) (bool, string) {
    	refull.longest = true
    	return refull.MatchString(text), "[full,longest]"
    }
    
    func matchPartialLongest(re, refull *Regexp, text string) (bool, string) {
    	re.longest = true
    	return re.MatchString(text), "[longest]"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. pilot/pkg/simulation/traffic.go

    				return vh
    			}
    		}
    	}
    	// prefix match
    	var bestMatch *route.VirtualHost
    	longest := 0
    	for _, vh := range rc.VirtualHosts {
    		for _, d := range vh.Domains {
    			if d[0] != '*' {
    				continue
    			}
    			if len(host) >= len(d) && strings.HasSuffix(host, d[1:]) && len(d) > longest {
    				bestMatch = vh
    				longest = len(d)
    			}
    		}
    	}
    	if bestMatch != nil {
    		return bestMatch
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. src/regexp/exec.go

    func (m *machine) step(runq, nextq *queue, pos, nextPos int, c rune, nextCond *lazyFlag) {
    	longest := m.re.longest
    	for j := 0; j < len(runq.dense); j++ {
    		d := &runq.dense[j]
    		t := d.t
    		if t == nil {
    			continue
    		}
    		if longest && m.matched && len(t.cap) > 0 && m.matchcap[0] < t.cap[0] {
    			m.pool = append(m.pool, t)
    			continue
    		}
    		i := t.inst
    		add := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    	if name != "" {
    		newImport.Name = &ast.Ident{Name: name}
    	}
    
    	// Find an import decl to add to.
    	// The goal is to find an existing import
    	// whose import path has the longest shared
    	// prefix with path.
    	var (
    		bestMatch  = -1         // length of longest shared prefix
    		lastImport = -1         // index in f.Decls of the file's final import decl
    		impDecl    *ast.GenDecl // import decl containing the best match
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // context is not cancelled first. The returned error will be from ctx.Err(), the condition's
    // err return value, or nil. If invoking condition takes longer than interval the next condition
    // will be invoked immediately. When using very short intervals, condition may be invoked multiple
    // times before a context cancellation is detected. If immediate is true, condition will be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLoggerContext.java

        }
    
        @Override
        public Logger getLogger(String name) {
            Logger logger = loggers.get(name);
            if (logger != null) {
                return logger;
            }
    
            logger = loggers.putIfAbsent(name, new OutputEventListenerBackedLogger(name, this, clock));
            return logger != null ? logger : loggers.get(name);
        }
    
        public void reset() {
            setLevel(DEFAULT_LOG_LEVEL);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top