Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for aloop (0.29 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertTrue(future1.wasInterrupted());
      }
    
      /**
       * Test the case where the futures are fulfilled prior to constructing the ListFuture. There was a
       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertTrue(future1.wasInterrupted());
      }
    
      /**
       * Test the case where the futures are fulfilled prior to constructing the ListFuture. There was a
       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers.go

    		if len(ss.Ports) == 0 {
    			// It's possible to have headless services with no ports.
    			count += len(ss.Addresses)
    			for i := range ss.Addresses {
    				if len(list) == max {
    					more = true
    					// the next loop is redundant
    					break
    				}
    				list = append(list, ss.Addresses[i].IP)
    			}
    			// avoid nesting code too deeply
    			continue
    		}
    
    		// "Normal" services with ports defined.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  4. tests/integration/pilot/common/routing.go

    				Name: "http",
    			},
    			Count: 1,
    			HTTP: echo.HTTP{
    				HTTP2: true,
    			},
    			Check: check.OK(),
    		},
    	})
    }
    
    // trafficLoopCases contains tests to ensure traffic does not loop through the sidecar
    func trafficLoopCases(t TrafficContext) {
    	for _, c := range t.Apps.A {
    		for _, d := range t.Apps.B {
    			for _, port := range []int{15001, 15006} {
    				c, d, port := c, d, port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"true": 1, "false": 2, "null": 3, "in": 4, "as": 5,
    				"break": 6, "const": 7, "continue": 8, "else": 9,
    				"for": 10, "function": 11, "if": 12, "import": 13,
    				"let": 14, "loop": 15, "package": 16, "namespace": 17,
    				"return": 18, "var": 19, "void": 20, "while": 21,
    				// identifiers that are part of the CEL language
    				"int": 101, "uint": 102, "double": 103, "bool": 104,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // 4, 16, and 64 are magic constants, see runtime/mkduff.go
    (Zero [s] ptr mem)
    	&& s%16 == 0 && s > 64 && s <= 16*64
    	&& !config.noDuffDevice =>
    	(DUFFZERO [4 * (64 - s/16)] ptr mem)
    
    // large zeroing uses a loop
    (Zero [s] ptr mem)
    	&& s%16 == 0 && (s > 16*64 || config.noDuffDevice) =>
    	(LoweredZero
    		ptr
    		(ADDconst <ptr.Type> [s-16] ptr)
    		mem)
    
    // moves
    (Move [0] _   _   mem) => mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/asm7.go

    		}
    		if p.As == obj.APCALIGN || p.As == obj.APCALIGNMAX {
    			v := obj.AlignmentPaddingLength(int32(p.Pc), p, c.ctxt)
    			for i = 0; i < int(v/4); i++ {
    				// emit ANOOP instruction by the padding size
    				c.ctxt.Arch.ByteOrder.PutUint32(bp, OP_NOOP)
    				bp = bp[4:]
    				psz += 4
    			}
    		} else {
    			c.asmout(p, o, out[:])
    			for i = 0; i < sz/4; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		decorator   func(runtime.Object)
    		beginUpdate func(context.Context, runtime.Object, runtime.Object, *metav1.UpdateOptions) (FinishFunc, error)
    		afterUpdate AfterUpdateFunc
    		// the TTLFunc is an easy hook to force an inner-loop retry
    		ttl              func(obj runtime.Object, existing uint64, update bool) (uint64, error)
    		expectError      bool
    		expectMilestones []string // to test sequence
    	}{{
    		name: "inner retry success",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	return nil
    }
    
    func (p *ReplicationPool) startResyncRoutine(ctx context.Context, buckets []BucketInfo, objAPI ObjectLayer) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Run the replication resync in a loop
    	for {
    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    		// racing idle-timeout).
    		//
    		// With unlucky and very stable scheduling (as may be the case with the fake wasm
    		// net stack), this can result in an infinite retry loop that doesn't
    		// propagate the error up far enough for us to adjust the WriteTimeout.
    		//
    		// To avoid that problem, we explicitly forbid internal retries by rejecting
    		// them in a Proxy hook in the transport.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top