Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 463 for iterations (0.19 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      public void testExpectedFpp() {
        BloomFilter<Object> bf = BloomFilter.create(HashTestUtils.BAD_FUNNEL, 10, 0.03);
        double fpp = bf.expectedFpp();
        assertEquals(0.0, fpp);
        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_experimental.cc

      ~TmpVar() override { VLOG(3) << "TmpVar " << name << " deleted"; }
    };
    
    // Makes a unique name for a temporary variable inside a while loop body,
    // because loop can be executed in multiple iterations in parallel.
    std::string TemporaryVariableName(
        const std::string& var_name,
        const tensorflow::FrameAndIter& control_frame) {
      if (control_frame.frame_id != tensorflow::kIllegalFrameId &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. src/runtime/map_test.go

    			first = append(first, i)
    		}
    
    		// 800 chances to get a different iteration order.
    		// See bug 8736 for why we need so many tries.
    		for n := 0; n < 800; n++ {
    			idx := 0
    			for i := range m {
    				if i != first[idx] {
    					// iteration order changed.
    					continue NextRound
    				}
    				idx++
    			}
    		}
    		t.Fatalf("constant iteration order on round %d: %v", round, first)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. src/text/template/exec.go

    		if s.vars[i].name == name {
    			s.vars[i].value = value
    			return
    		}
    	}
    	s.errorf("undefined variable: %s", name)
    }
    
    // setTopVar overwrites the top-nth variable on the stack. Used by range iterations.
    func (s *state) setTopVar(n int, value reflect.Value) {
    	s.vars[len(s.vars)-n].value = value
    }
    
    // varValue returns the value of the named variable.
    func (s *state) varValue(name string) reflect.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/runtime/trace.go

    	// also no stale generation values left. Therefore, it's safe to flush
    	// any buffers that remain in that generation's slot.
    	const debugDeadlock = false
    	systemstack(func() {
    		// Track iterations for some rudimentary deadlock detection.
    		i := 0
    		detectedDeadlock := false
    
    		for mToFlush != nil {
    			prev := &mToFlush
    			for mp := *prev; mp != nil; {
    				if mp.trace.seqlock.Load()%2 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    	// Walk blocks in postorder ordering. This improves convergence.
    	po := lv.f.Postorder()
    
    	// Iterate through the blocks in reverse round-robin fashion. A work
    	// queue might be slightly faster. As is, the number of iterations is
    	// so low that it hardly seems to be worth the complexity.
    
    	for change := true; change; {
    		change = false
    		for _, b := range po {
    			be := lv.blockEffects(b)
    
    			newliveout.Clear()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/os/exec/exec_test.go

    		go runCommand(cb, bres)
    		if got, want := <-ares, fmt.Sprintf("fd3: listener %s\n", la.Addr()); got != want {
    			t.Errorf("iteration %d, process A got:\n%s\nwant:\n%s\n", i, got, want)
    		}
    		if got, want := <-bres, fmt.Sprintf("fd3: listener %s\n", lb.Addr()); got != want {
    			t.Errorf("iteration %d, process B got:\n%s\nwant:\n%s\n", i, got, want)
    		}
    		la.Close()
    		lb.Close()
    		for _, f := range ca.ExtraFiles {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. src/os/exec/exec.go

    		p = p[overage:]
    		w.skipped += int64(overage)
    	}
    	p = w.fill(&w.suffix, p)
    
    	// w.suffix is full now if p is non-empty. Overwrite it in a circle.
    	for len(p) > 0 { // 0, 1, or 2 iterations.
    		n := copy(w.suffix[w.suffixOff:], p)
    		p = p[n:]
    		w.skipped += int64(n)
    		w.suffixOff += n
    		if w.suffixOff == w.N {
    			w.suffixOff = 0
    		}
    	}
    	return lenp, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
       * of the table, such as iteration order, are left intact.
       *
       * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
       * removal operations, and these are reflected in the underlying table.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    * providers
    * services
    * injectables
    * components
    
    ## **FastAPI** plug-ins
    
    Integrations and "plug-ins" can be built using the **Dependency Injection** system. But in fact, there is actually **no need to create "plug-ins"**, as by using dependencies it's possible to declare an infinite number of integrations and interactions that become available to your *path operation functions*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top