Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 848 for given (0.13 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
       * future-proof algorithms <a
       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
       * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. internal/event/targetidset.go

    func (set TargetIDSet) add(targetID TargetID) {
    	set[targetID] = struct{}{}
    }
    
    // Union - returns union with given set as new set.
    func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet {
    	nset := set.Clone()
    
    	for k := range sset {
    		nset.add(k)
    	}
    
    	return nset
    }
    
    // Difference - returns difference with given set as new set.
    func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet {
    	nset := NewTargetIDSet()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
        return copyOf(naturalOrder, elements);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by the given {@code
       * Comparator}. When multiple elements are equivalent according to {@code compareTo()}, only the
       * first one specified is included.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheTesting.java

          Reference<V> ref = (Reference<V>) valueRef;
          if (ref != null) {
            ref.clear();
          }
        }
      }
    
      /**
       * Poke into the Cache internals to simulate garbage collection of the given key. This assumes
       * that the given entry is a weak or soft reference, and throws an IllegalStateException if that
       * assumption does not hold.
       */
      static <K, V> void simulateKeyReclamation(Cache<K, V> cache, K key) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // target specifies the target value for the given metric
      optional MetricTarget target = 2;
    }
    
    // ExternalMetricStatus indicates the current value of a global metric
    // not associated with any Kubernetes object.
    message ExternalMetricStatus {
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 1;
    
      // current contains the current value for the given metric
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

        /**
         * Performs a lookup for given typed component.
         *
         * @param type The component type.
         * @return The component.
         * @param <T> The component type.
         * @throws LookupException if no such component or there is some provisioning related issue.
         */
        @Nonnull
        <T> T lookup(Class<T> type);
    
        /**
         * Performs a lookup for given typed component.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableBiMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  8. cmd/bitrot.go

    		logger.CriticalIf(GlobalContext, errors.New("Unsupported bitrot algorithm"))
    		return nil
    	}
    }
    
    // Available reports whether the given algorithm is available.
    func (a BitrotAlgorithm) Available() bool {
    	_, ok := bitrotAlgorithms[a]
    	return ok
    }
    
    // String returns the string identifier for a given bitrot algorithm.
    // If the algorithm is not supported String panics.
    func (a BitrotAlgorithm) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            while (!aa.weakCompareAndSet(i, prev, x)) {;
            }
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** getAndSet returns previous value and sets to given value at given index */
      public void testGetAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          for (double x : VALUES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest_shared_test.go

    	if err != nil {
    		return err
    	}
    	if err := applyWithReconciler(reconciler, mstr); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // applyWithReconciler applies the given manifest string using the given reconciler.
    func applyWithReconciler(reconciler *helmreconciler.HelmReconciler, manifest string) error {
    	m := name.Manifest{
    		// Name is not important here, only Content will be applied.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top