Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for idempotence (0.25 sec)

  1. src/cmd/gofmt/gofmt_test.go

    			if strings.HasSuffix(in, ".input") {
    				out = in[:len(in)-len(".input")] + ".golden"
    			}
    			runTest(t, in, out)
    			if in != out && !t.Failed() {
    				// Check idempotence.
    				runTest(t, out, out)
    			}
    		})
    	}
    }
    
    // Test case for issue 3961.
    func TestCRLF(t *testing.T) {
    	const input = "testdata/crlf.input"   // must contain CR/LF's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
    
        assertFalse(iter.hasNext());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers_test.go

    		t.Fatalf("failed to do no-op update to object: %v", err)
    	}
    
    	if after := f.ManagedFields(); !apiequality.Semantic.DeepEqual(before, after) {
    		t.Fatalf("exected idempotence, but managedFields changed:\nbefore: %v\n after: %v", mustMarshal(before), mustMarshal(after))
    	}
    }
    
    // expectManagesField ensures that manager m currently manages field path p.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

    // RUN: tf-opt -tf-executor-split-into-island-per-op %s --split-input-file --verify-diagnostics | FileCheck %s
    
    // All tests also test for idempotence.
    
    // Test that functions must have a single graph op in their body, otherwise, the
    // pass will signal failure.
    
    // expected-error@+1 {{expected function to contain only a graph_op}}
    func.func @multiple_func_body_ops() {
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir

    // RUN: tf-opt -tf-executor-break-up-islands %s | FileCheck %s
    // RUN: tf-opt -tf-executor-break-up-islands -tf-executor-break-up-islands %s | FileCheck %s
    
    // All tests also test for idempotence.
    
    // Test that external functions aren't processed (used to crash).
    // CHECK-LABEL: func private @unused_external_func
    func.func private @unused_external_func()
    
    func.func @multiple_return(%arg0: tensor<*xi32>, %arg1: tensor<i32>) -> (tensor<*xi32>, tensor<*xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 28.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Range.java

       *   <li>uniqueness: unless {@code a.isEmpty()}, {@code ContiguousSet.create(a,
       *       domain).equals(ContiguousSet.create(b, domain))} implies {@code
       *       a.canonical(domain).equals(b.canonical(domain))}
       *   <li>idempotence: {@code a.canonical(domain).canonical(domain).equals(a.canonical(domain))}
       * </ul>
       *
       * <p>Furthermore, this method guarantees that the range returned will be one of the following
       * canonical forms:
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__authentication.k8s.io__v1alpha1_openapi.json

                "type": "string"
              },
              "namespace": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  8. pkg/controller/deployment/sync.go

    	// Create new ReplicaSet
    	newRS := apps.ReplicaSet{
    		ObjectMeta: metav1.ObjectMeta{
    			// Make the name deterministic, to ensure idempotence
    			Name:            d.Name + "-" + podTemplateSpecHash,
    			Namespace:       d.Namespace,
    			OwnerReferences: []metav1.OwnerReference{*metav1.NewControllerRef(d, controllerKind)},
    			Labels:          newRSTemplate.Labels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. pkg/registry/core/service/storage/storage.go

    	// Decorator hook is not called on 'old' in the update path.
    	r.defaultOnReadService(oldSvc)
    
    	// Fix up allocated values that the client may have not specified (for
    	// idempotence).
    	patchAllocatedValues(After{newSvc}, Before{oldSvc})
    
    	// Make sure ClusterIP and ClusterIPs are in sync.  This has to happen
    	// early, before anyone looks at them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

       *   <li>uniqueness: unless {@code a.isEmpty()}, {@code ContiguousSet.create(a,
       *       domain).equals(ContiguousSet.create(b, domain))} implies {@code
       *       a.canonical(domain).equals(b.canonical(domain))}
       *   <li>idempotence: {@code a.canonical(domain).canonical(domain).equals(a.canonical(domain))}
       * </ul>
       *
       * <p>Furthermore, this method guarantees that the range returned will be one of the following
       * canonical forms:
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top