Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,837 for iterations (0.17 sec)

  1. src/os/fifo_test.go

    			t.Skipf("can't open %q: %v", nonPollable, err)
    		}
    		t.Fatal(err)
    	}
    	f.Close()
    
    	// On a Linux laptop, before the problem was fixed,
    	// this test failed about 50% of the time with this
    	// number of iterations.
    	// It takes about 1/2 second when it passes.
    	const attempts = 20000
    
    	start := make(chan bool)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	defer wg.Wait()
    	go func() {
    		defer wg.Done()
    		close(start)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/math/big/int.go

    	default:
    		a2 = 0
    	}
    
    	// Since we are calculating with full words to avoid overflow,
    	// we use 'even' to track the sign of the cosequences.
    	// For even iterations: u0, v1 >= 0 && u1, v0 <= 0
    	// For odd  iterations: u0, v1 <= 0 && u1, v0 >= 0
    	// The first iteration starts with k=1 (odd).
    	even = false
    	// variables to track the cosequences
    	u0, u1, u2 = 0, 1, 0
    	v0, v1, v2 = 0, 0, 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/go/types/mono.go

    	pos token.Pos
    	typ Type
    }
    
    func (check *Checker) monomorph() {
    	// We detect unbounded instantiation cycles using a variant of
    	// Bellman-Ford's algorithm. Namely, instead of always running |V|
    	// iterations, we run until we either reach a fixed point or we've
    	// found a path of length |V|. This allows us to terminate earlier
    	// when there are no cycles, which should be the common case.
    
    	again := true
    	for again {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/mono.go

    	pos syntax.Pos
    	typ Type
    }
    
    func (check *Checker) monomorph() {
    	// We detect unbounded instantiation cycles using a variant of
    	// Bellman-Ford's algorithm. Namely, instead of always running |V|
    	// iterations, we run until we either reach a fixed point or we've
    	// found a path of length |V|. This allows us to terminate earlier
    	// when there are no cycles, which should be the common case.
    
    	again := true
    	for again {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. hack/make-rules/test.sh

            kube::log::usage "'$0': argument to -p must be numeric and greater than 0"
            kube::test::usage
            exit 1
          fi
          ;;
        i)
          kube::log::usage "'$0': use GOFLAGS='-count <num-iterations>'"
          kube::test::usage
          exit 1
          ;;
        :)
          kube::log::usage "Option -${OPTARG} <value>"
          kube::test::usage
          exit 1
          ;;
        ?)
          kube::test::usage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/iter/pull_test.go

    			c = 0
    			ng = nng
    		}
    		if c >= 100 {
    			// The same value 100 times in a row is good enough.
    			return ng
    		}
    		runtime.Gosched()
    	}
    	panic("failed to stabilize NumGoroutine after 1000 iterations")
    }
    
    func TestPullDoubleNext(t *testing.T) {
    	next, _ := Pull(doDoubleNext())
    	nextSlot = next
    	next()
    	if nextSlot != nil {
    		t.Fatal("double next did not fail")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/math/big/arith_ppc64x.s

    	MOVD y+48(FP), R4	// R4 = y = c
    	MOVD z_len+8(FP), R11	// R11 = z_len
    
    	CMP   R11, $0		// If z_len is zero, return
    	BEQ   done
    
    	// We will process the first iteration out of the loop so we capture
    	// the value of c. In the subsequent iterations, we will rely on the
    	// value of CA set here.
    	MOVD  0(R8), R20	// R20 = x[i]
    	ADD   $-1, R11		// R11 = z_len - 1
    	ADDC  R20, R4, R6	// R6 = x[i] + c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis.cc

    // true on iteration 0, 1, 2 respectively.  This is made more precise in the
    // comment on the AndRecurrence class.
    //
    // The general algorithm that deals with cycles does two topological-order
    // iterations over the graph.  On the first iteration it assigns a symbolic
    // predicate to merge nodes with backedges.  On the second iteration it tries
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                    }
                  },
                  directExecutor());
          for (int i = 0; i < 50_000; i++) {
            if (i % DIRECT_EXECUTIONS_PER_THREAD == 0) {
              // after some number of iterations, switch threads
              unused =
                  serializer.submit(
                      new Callable<@Nullable Void>() {
                        @Override
                        public @Nullable Void call() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. cmd/prepare-storage.go

    	}
    
    	tries++ // tried already once
    
    	// Wait on each try for an update.
    	ticker := time.NewTicker(1 * time.Second)
    	defer ticker.Stop()
    
    	for {
    		// Only log once every 10 iterations, then reset the tries count.
    		verbose = tries >= 10
    		if verbose {
    			tries = 1
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top