Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 352 for addKind (0.11 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        String key = "key";
        long addend = random.nextInt(MAX_ADDEND);
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.addAndGet(key, addend);
          long after = map.get(key);
          assertEquals(before + addend, after);
          assertEquals(after, result);
          addend = after;
        }
        assertEquals(1, map.size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	if !w.add(&watchCacheEvent{Object: makePod(5), ResourceVersion: 5}, time.NewTimer(1*time.Second)) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    	if !w.nonblockingAdd(&watchCacheEvent{Type: watch.Bookmark, ResourceVersion: 10, Object: &v1.Pod{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "10"}}}) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

        @Language("java")
        private static final JAVA_PLUGIN_EXTENSION = """
            package com.example.restricted;
    
            import org.gradle.declarative.dsl.model.annotations.Adding;
            import org.gradle.declarative.dsl.model.annotations.Configuring;
            import org.gradle.declarative.dsl.model.annotations.Restricted;
            import org.gradle.api.Action;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

                }
    
                function.annotations.any { it is Adding } -> {
                    check(inType != null)
    
                    check(function.returnType != typeOf<Unit>() || configureLambdas.getTypeConfiguredByLambda(function.parameters.last().type) == null) {
                        "an @Adding function with a Unit return type may not accept configuring lambdas"
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

            """
        }
    
        static String getAnotherSoftwareTypeExtension() {
            return """
                package org.gradle.test;
    
                import org.gradle.declarative.dsl.model.annotations.Adding;
                import org.gradle.declarative.dsl.model.annotations.Configuring;
                import org.gradle.declarative.dsl.model.annotations.Restricted;
    
                import org.gradle.api.Action;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		return err
    	}
    
    	r := &Retract{
    		VersionInterval: vi,
    	}
    	if vi.Low == vi.High {
    		r.Syntax = f.Syntax.addLine(nil, "retract", AutoQuote(vi.Low))
    	} else {
    		r.Syntax = f.Syntax.addLine(nil, "retract", "[", AutoQuote(vi.Low), ",", AutoQuote(vi.High), "]")
    	}
    	if rationale != "" {
    		for _, line := range strings.Split(rationale, "\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc

          SmallVector<Location>(inputs.size(), quantization_func.getLoc()));
      func_input_arg = block->getArgument(0);
      return quantization_func;
    }
    
    // Post-actions after adding quantization logics. Post-actions include
    // 1) Adding the created function in the symbol table
    // 2) Creating a PartitionedCallOp in the main graph that calls the created
    //    function.
    TF::PartitionedCallOp FinalizeFunctionRegister(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-ingress/values.yaml

        # Default node selector to be applied to all deployments so that all pods can be
        # constrained to run a particular nodes. Each component can overwrite these default
        # values by adding its node selector block in the relevant section below and setting
        # the desired values.
        defaultNodeSelector: {}
    
        # enable pod disruption budget for the control plane, which is used to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top