Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,260 for given (0.07 sec)

  1. android/guava/src/com/google/common/collect/HashBiMap.java

       */
      private int bucket(int hash) {
        return hash & (hashTableKToV.length - 1);
      }
    
      /** Given a key, returns the index of the entry in the tables, or ABSENT if not found. */
      int findEntryByKey(@CheckForNull Object key) {
        return findEntryByKey(key, Hashing.smearedHash(key));
      }
    
      /**
       * Given a key and its hash, returns the index of the entry in the tables, or ABSENT if not found.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  2. internal/kms/kes.go

    	keyInfos := make([]madmin.KMSKeyInfo, len(names))
    	for i := range names {
    		keyInfos[i].Name = names[i]
    	}
    	return keyInfos, continueAt, nil
    }
    
    // CreateKey tries to create a new key at the KMS with the
    // given key ID.
    //
    // If the a key with the same keyID already exists then
    // CreateKey returns kes.ErrKeyExists.
    func (c *kesConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. internal/mountinfo/mountinfo_linux.go

    	if err != nil {
    		return err
    	}
    	for _, path := range absPaths {
    		if err := mounts.checkCrossMounts(path); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // CheckCrossDevice - check if given path has any sub-mounts in the input mounts list.
    func (mts mountInfos) checkCrossMounts(path string) error {
    	if !filepath.IsAbs(path) {
    		return fmt.Errorf("Invalid argument, path (%s) is expected to be absolute", path)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        // We need to wait for the runner to exit.  To make sure that the interrupting thread wakes it
        // back up.
        runner.join(SECONDS.toMillis(10));
      }
    
      // waits for the given thread to be blocked on the given object
      private static void awaitBlockedOnInstanceOf(Thread t, Class<?> blocker)
          throws InterruptedException {
        while (!isThreadBlockedOnInstanceOf(t, blocker)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. architecture/build-state-model.md

    When that directory changes between Gradle invocations, the state is discarded and recreated.
    Typically, the Gradle user home directory does not change for a given process, so this is effectively process state.
    
    The build process state is managed by the `BuildProcessState` class. An instance is created once for a given process.
    
    ### Build session state
    
    A "build session" represents a single invocation of Gradle, for example when you run `gradlew build`.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

     * {@link #on(CharMatcher) CharMatcher} instance. Or, instead of using a separator at all, a
     * splitter can extract adjacent substrings of a given {@linkplain #fixedLength fixed length}.
     *
     * <p>For example, this expression:
     *
     * <pre>{@code
     * Splitter.on(',').split("foo,bar,qux")
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals(
                    "jar", depArtifact.getProperty("type", null)); // shouldn't it be java-sources given the classifier?
            assertEquals(
                    "true",
                    depArtifact.getProperty("constitutesBuildPath", null)); // shouldn't it be false given the classifier?
            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradient_checker.cc

    // ================== Helper functions =================
    
    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
      int num_dims = TF_NumDims(t);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

       */
      @ParametricNullness
      public static <T extends @Nullable Object> T find(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.find(iterable.iterator(), predicate);
      }
    
      /**
       * Returns the first element in {@code iterable} that satisfies the given predicate, or {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top