Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for conditional (0.28 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests conditional {@code setCount()} operations on a multiset. Can't
     * be invoked directly; please see {@link MultisetTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtDataFlowInfoProvider.kt

        /**
         * `true` if there are any control-flow statements that jump outside given statements.
         * Jumps include both loop jumps (`break` and `continue`) and `return`s.
         * Conditional blocks (`if`) and `throw`s are not considered as jumps.
         */
        public val hasJumps: Boolean,
    
        /**
         * `true` if next-executed instructions for the potential default expression and jump expressions are different.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests conditional {@code setCount()} operations on a multiset. Can't
     * be invoked directly; please see {@link MultisetTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
                .add(LONG_NAME, false)
                .add(LONG_NAME, LONG_NAME);
          }
        },
        CONDITIONAL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, "x")
                .add(LONG_NAME, "y")
                .add(SHORT_NAME, null)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/injection/injection-image.go

    	var m injectionConfigMap
    	if err := json.Unmarshal([]byte(cm.Data[util.InjectionConfigMapValue]), &m); err != nil {
    		return ""
    	}
    	// The injector template has a similar '{ contains "/" ... }' conditional
    	if strings.Contains(m.Global.Proxy.Image, "/") {
    		return m.Global.Proxy.Image
    	}
    	return fmt.Sprintf("%s/%s:%s", m.Global.Hub, m.Global.Proxy.Image, m.Global.Tag)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/NestedValidationUtil.java

         * supports the given bean type.
         * <p>
         * Nested types are expected to either declare some annotated properties,
         * which themselves are checked for annotations, or some conditional
         * behaviour where capturing the type itself as input is important.
         * <p>
         * Types of the Java SE API, types of the Kotlin stdlib, and Groovy's
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultConditionalExecutionQueue.java

    import java.util.Deque;
    import java.util.LinkedList;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.ReentrantLock;
    
    /**
     * A queueing mechanism that only executes items once certain conditions are reached.
     */
    // TODO This class, DefaultBuildOperationQueue and ExecutionPlan have many of the same
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. cmd/metacache.go

    		b = ""
    	}
    	if len(b) > 0 && !strings.HasSuffix(b, slashSeparator) {
    		b += slashSeparator
    	}
    	return b
    }
    
    // update cache with new status.
    // The updates are conditional so multiple callers can update with different states.
    func (m *metacache) update(update metacache) {
    	m.lastUpdate = UTCNow()
    
    	if m.lastHandout.After(m.lastHandout) {
    		m.lastHandout = UTCNow()
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. internal/config/cache/cache.go

    	ErrKeyMissing      = errors.New("key is missing")
    )
    
    const (
    	mcacheV1Check  = "/_mcache/v1/check"
    	mcacheV1Update = "/_mcache/v1/update"
    	mcacheV1Delete = "/_mcache/v1/delete"
    )
    
    // Get performs conditional check and returns the cached object info if any.
    func (c Config) Get(r *CondCheck) (*ObjectInfo, error) {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if !c.Enable {
    		return nil, nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/rbac/rbac.go

    	if ruleCheckingVisitor.allowed {
    		return authorizer.DecisionAllow, ruleCheckingVisitor.reason, nil
    	}
    
    	// Build a detailed log of the denial.
    	// Make the whole block conditional so we don't do a lot of string-building we won't use.
    	if klogV := klog.V(5); klogV.Enabled() {
    		var operation string
    		if requestAttributes.IsResourceRequest() {
    			b := &bytes.Buffer{}
    			b.WriteString(`"`)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 10:13:50 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top