Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for safeSet (0.35 sec)

  1. src/runtime/string.go

    	// [ptr, endOfPage) interval.
    	safeLen := int(pageSize - uintptr(ptr)%pageSize)
    
    	for {
    		t := *(*string)(unsafe.Pointer(&stringStruct{ptr, safeLen}))
    		// Check one page at a time.
    		if i := bytealg.IndexByteString(t, 0); i != -1 {
    			return offset + i
    		}
    		// Move to next page
    		ptr = unsafe.Pointer(uintptr(ptr) + uintptr(safeLen))
    		offset += safeLen
    		safeLen = pageSize
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/StandardTable.java

    import static com.google.common.base.Predicates.in;
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Maps.safeContainsKey;
    import static com.google.common.collect.Maps.safeGet;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 29.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/StandardTable.java

    import static com.google.common.base.Predicates.in;
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Maps.safeContainsKey;
    import static com.google.common.collect.Maps.safeGet;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  4. src/runtime/metrics/example_test.go

    			// This should never happen because all metrics are supported
    			// by construction.
    			panic("bug in runtime/metrics package!")
    		default:
    			// This may happen as new metrics get added.
    			//
    			// The safest thing to do here is to simply log it somewhere
    			// as something to look into, but ignore it for now.
    			// In the worst case, you might temporarily miss out on a new metric.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 08 16:09:01 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

            entryIterator.remove();
          }
          size--;
          canRemove = false;
        }
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        Count frequency = Maps.safeGet(backingMap, element);
        return (frequency == null) ? 0 : frequency.get();
      }
    
      // Optional Operations - Modification Operations
    
      /**
       * {@inheritDoc}
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/TempFileCreator.java

          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
          // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly:
          // b/65343391
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
          // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly:
          // b/65343391
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/istio_ca.go

    // and trust domain for Istiod, if not explicitly defined.
    // K8S will use the same kind of tokens for the pods, and the value in istiod's own token is
    // simplest and safest way to have things match.
    //
    // Note that K8S is not required to use JWT tokens - we will fallback to the defaults
    // or require explicit user option for K8S clusters using opaque tokens.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. pkg/apis/autoscaling/types.go

    // They can limit the scaling velocity by specifying scaling policies.
    // They can prevent flapping by specifying the stabilization window, so that the
    // number of replicas is not set instantly, instead, the safest value from the stabilization
    // window is chosen.
    type HPAScalingRules struct {
    	// StabilizationWindowSeconds is the number of seconds for which past recommendations should be
    	// considered while scaling up or scaling down.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

    // They can limit the scaling velocity by specifying scaling policies.
    // They can prevent flapping by specifying the stabilization window, so that the
    // number of replicas is not set instantly, instead, the safest value from the stabilization
    // window is chosen.
    message HPAScalingRules {
      // stabilizationWindowSeconds is the number of seconds for which past recommendations should be
      // considered while scaling up or scaling down.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top