Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 1,719 for nonce (0.02 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

                    + "'");
          }
        }
        throw new IndexOutOfBoundsException("Index exceeds specified range");
      }
    
      /**
       * Helper method to grow the character buffer as needed, this only happens once in a while so it's
       * ok if it's in a method call. If the index passed in is 0 then no copying will be done.
       */
      private static char[] growBuffer(char[] dest, int index, int size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	doneCh := make(chan error, 1)
    	defer xioutil.SafeClose(doneCh)
    
    	// Save rebalance.bin periodically.
    	go func() {
    		// Update rebalance.bin periodically once every 5-10s, chosen randomly
    		// to avoid multiple pool leaders herding to update around the same
    		// time.
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		randSleepFor := func() time.Duration {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. cmd/local-locker_test.go

    	}
    	// A UID is added for every resource
    	if len(l.lockUID) != len(rResources)*2+len(wResources)*m {
    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources)*2, len(wResources)*m)
    	}
    	// RUnlock once...
    	for i, name := range rResources {
    		arg := dsync.LockArgs{
    			UID:       rUIDs[i*2],
    			Resources: []string{name},
    			Source:    t.Name(),
    			Owner:     "owner",
    			Quorum:    &quorum,
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
       */
      @VisibleForTesting
      @CanIgnoreReturnValue
      @CheckForNull
      MoveDesc<E> removeAt(int index) {
        checkPositionIndex(index, size);
        modCount++;
        size--;
        if (size == index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. cmd/bucket-replication-stats.go

    		rs.Completed = true
    	case replication.Pending:
    		rs.Pending = true
    	case replication.Failed:
    		rs.Failed = true
    		rs.Err = err
    	}
    }
    
    // GetAll returns replication metrics for all buckets at once.
    func (r *ReplicationStats) GetAll() map[string]BucketReplicationStats {
    	if r == nil {
    		return map[string]BucketReplicationStats{}
    	}
    
    	r.RLock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      optional string version = 4;
    
      // Resource is one of the existing resource types.  "*" means all.
      // +optional
      optional string resource = 5;
    
      // Subresource is one of the existing resource types.  "" means none.
      // +optional
      optional string subresource = 6;
    
      // Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
      // +optional
      optional string name = 7;
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * ordering. To create a copy of a {@code SortedMultiset} that preserves the comparator, call
       * {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
       *
       * <p>Note that if {@code s} is a {@code Multiset<String>}, then {@code
       * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        public ImmutableBiMap<K, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable bimap, or throws an exception if any key or value was added
         * more than once. The iteration order of the returned bimap is the order in which entries were
         * inserted into the builder, unless {@link #orderEntriesByValue} was called, in which case
         * entries are sorted by value.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /**
       * Tests for Predicates.contains(Pattern) and .containsPattern(String). We assume the regex level
       * works, so there are only trivial tests of that aspect. TODO: Fix comment style once annotation
       * stripper is fixed.
       */
      @GwtIncompatible // Predicates.containsPattern
      public void testContainsPattern_apply() {
        Predicate<CharSequence> isFoobar = Predicates.containsPattern("^Fo.*o.*bar$");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    // (only `type` and one other matching field should be set at once).
    message MetricSpec {
      // type is the type of metric source.  It should be one of "ContainerResource", "External",
      // "Object", "Pods" or "Resource", each mapping to a matching field in the object.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top