Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for plats (0.04 sec)

  1. src/cmd/dist/build.go

    	brokenFlag := flag.Bool("broken", false, "include broken ports")
    	xflagparse(0)
    
    	var plats []string
    	for p := range cgoEnabled {
    		if broken[p] && !*brokenFlag {
    			continue
    		}
    		plats = append(plats, p)
    	}
    	sort.Strings(plats)
    
    	if !*jsonFlag {
    		for _, p := range plats {
    			xprintf("%s\n", p)
    		}
    		return
    	}
    
    	type jsonResult struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/net/http/routing_index.go

    	hasLit := false
    	for i, seg := range pat.segments {
    		if seg.multi {
    			break
    		}
    		if !seg.wild {
    			hasLit = true
    			lpats := idx.segments[routingIndexKey{s: seg.s, pos: i}]
    			wpats := idx.segments[routingIndexKey{s: "", pos: i}]
    			if sum := len(lpats) + len(wpats); sum < min {
    				lmin = lpats
    				wmin = wpats
    				min = sum
    			}
    		}
    	}
    	if hasLit {
    		apply(lmin)
    		apply(wmin)
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
          "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up"
        }
        val result = plans[nextPlanIndex++]
        events += "take plan ${result.id}"
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/net/http/routing_index_test.go

    	// How fast is indexing if the corpus is all multis?
    	const nMultis = 1000
    	var pats []*pattern
    	for i := 0; i < nMultis; i++ {
    		pats = append(pats, mustParsePattern(b, fmt.Sprintf("/a/b/{x}/d%d/", i)))
    	}
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		var idx routingIndex
    		for _, p := range pats {
    			got := indexConflicts(p, &idx)
    			if len(got) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. pkg/bootstrap/platform/discovery.go

    			plat <- NewAWS(ipv6)
    		}
    		wg.Done()
    	}()
    
    	go func() {
    		if IsAzure() {
    			log.Info("platform detected is Azure")
    			plat <- NewAzure()
    		}
    		wg.Done()
    	}()
    
    	go func() {
    		wg.Wait()
    		close(done)
    	}()
    
    	timer := time.NewTimer(timeout)
    	defer timer.Stop()
    	select {
    	case p := <-plat:
    		return p
    	case <-done:
    		select {
    		case p := <-plat:
    			return p
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/performanceGraph.js

        const renderCommitIds = function (commits) {
            return commits.map(function (commit) {
                return commit.substring(0, 7);
            }).join('|');
        };
    
        const plots = [];
    
        const togglePlot = function (chartId, label) {
            const plot = plots[chartId];
            const plotData = plot.getData();
            $.each(plotData, function (index, value) {
                if (value.label == label) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     */
    interface RoutePlanner {
      val address: Address
    
      /** Follow-ups for failed plans and plans that lost a race. */
      val deferredPlans: ArrayDeque<Plan>
    
      fun isCanceled(): Boolean
    
      /** Returns a plan to attempt. */
      @Throws(IOException::class)
      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. tools/docker-builder/builder/crane.go

    			ref, err := name.ParseReference(b.name)
    			if err != nil {
    				log.WithLabels("image", b).Warnf("base failed: %v", err)
    				return
    			}
    			plat := v1.Platform{
    				Architecture: b.arch,
    				OS:           "linux",
    			}
    			bi, err := remote.Image(ref, remote.WithPlatform(plat), remote.WithProgress(CreateProgress(fmt.Sprintf("base %v", ref))))
    			if err != nil {
    				log.WithLabels("image", b).Warnf("base failed: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/StringsTest.java

        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");
      }
    
      public void testLenientFormat_badArgumentToString_gwtFriendly() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

      private val taskRunner: TaskRunner,
    ) : ExchangeFinder {
      private val connectDelayNanos = TimeUnit.MILLISECONDS.toNanos(250L)
      private var nextTcpConnectAtNanos = Long.MIN_VALUE
    
      /**
       * Plans currently being connected, and that will later be added to [connectResults]. This is
       * mutated by the call thread only. If is accessed by background connect threads.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top