Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,235 for Reed (0.16 sec)

  1. cmd/test-utils_test.go

    func getRandomRange(min, max int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    func randomizeBytes(s []byte, seed int64) []byte {
    	// special value -1 means no explicit seeding.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      Define(-1, {}, {feed}, {feed}, {});
    
      // Use, run, and verify
      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed});
      Run({{func_feed, Int32Tensor(3)}}, func_op, 3);
      VerifyFDef(empty_, {{"feed_0", DT_INT32}}, {{"feed", DT_INT32}},
                 {{"feed_0", "feed"}}, {});
    }
    
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
                sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession()));
    
                legacySupport.setSession(session);
    
    Java
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  4. maven-core/plugin-manager.txt

    h2. Concerns for the plugin manager
    
    h3. Resolving the dependencies of a plugin
    
    Plain Text
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Mon Jul 18 22:45:13 GMT 2022
    - 12.9K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/reader.go

    		} else { // part of header can be accommodated
    			r.opts.HeaderSize -= b - 1
    			need = 1 // to ensure we read at least one byte for every Read
    			tokens = b
    		}
    	} else { // all tokens go towards payload
    		need = int(math.Min(float64(b), float64(need)))
    		tokens = need
    	}
    
    	err = r.throttle.WaitN(r.ctx, tokens)
    	if err != nil {
    		return
    	}
    
    	n, err = r.r.Read(buf[:need])
    	if err != nil {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SpecialRandom.java

      }
    
      private final boolean hasSeed;
      private final long seed;
    
      public SpecialRandom() {
        this.hasSeed = false;
        this.seed = 0;
      }
    
      public SpecialRandom(long seed) {
        super(seed);
        this.hasSeed = true;
        this.seed = seed;
      }
    
      @Override
      public String toString() {
        return hasSeed ? "(seed:" + seed : "(default seed)";
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SpecialRandom.java

      }
    
      private final boolean hasSeed;
      private final long seed;
    
      public SpecialRandom() {
        this.hasSeed = false;
        this.seed = 0;
      }
    
      public SpecialRandom(long seed) {
        super(seed);
        this.hasSeed = true;
        this.seed = seed;
      }
    
      @Override
      public String toString() {
        return hasSeed ? "(seed:" + seed : "(default seed)";
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     *
     * <p>Hasher accepts primitive data types, but can also accept any Object of type {@code T} provided
     * that you implement a {@link Funnel}{@code <T>} to specify how to "feed" data from that object
     * into the function. (See {@linkplain Hasher#putObject an example} of this.)
     *
     * <p><b>Compatibility note:</b> Throughout this API, multibyte values are always interpreted in
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  10. internal/dsync/locked_rand.go

    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return
    }
    
    // Seed uses the provided seed value to initialize the generator to a
    // deterministic state.
    func (r *lockedRandSource) Seed(seed int64) {
    	r.lk.Lock()
    	r.src.Seed(seed)
    	r.lk.Unlock()
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Oct 18 15:39:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
Back to top