Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 190 for idempotency (0.13 sec)

  1. src/internal/runtime/atomic/atomic_s390x.go

    func StoreReluintptr(ptr *uintptr, val uintptr) {
    	*ptr = val
    }
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultRealizableTaskCollectionTest.groovy

            collection.visitDependencies(Stub(TaskDependencyResolveContext))
    
            then:
            registry.state("tasks.redundant") == ModelNode.State.Discovered
        }
    
        def "realize is idempotent"() {
            given:
            ModelRegistryHelper registry = new ModelRegistryHelper()
            ModelPath path = ModelPath.path("tasks")
    
            registry.registerInstance("tasks", "foo tasks")
                .mutate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 22 12:57:17 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  3. src/go/printer/performance_test.go

    	if err != nil {
    		log.Fatalf("%s", err)
    	}
    
    	var buf bytes.Buffer
    	testprint(&buf, file)
    	if !bytes.Equal(buf.Bytes(), src) {
    		log.Fatalf("print error: %s not idempotent", filename)
    	}
    
    	fileNode = file
    	fileSize = int64(len(src))
    
    	for _, decl := range file.Decls {
    		// The first global variable, which is pretty short:
    		//
    		//	var unresolved = new(ast.Object)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:10:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_amd64.go

    //go:noescape
    func Anduintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Oruintptr(ptr *uintptr, val uintptr) uintptr
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func Cas64(ptr *uint64, old, new uint64) bool
    
    //go:noescape
    func CasRel(ptr *uint32, old, new uint32) bool
    
    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * the listeners can be delayed slightly so that locks can be dropped. Also, because {@link
     * #dispatch} is expected to be called concurrently, it is idempotent.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class ListenerCallQueue<L> {
      // TODO(cpovirk): consider using the logger associated with listener.getClass().
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_loong64.go

    func Or64(ptr *uint64, val uint64) uint64
    
    //go:noescape
    func Anduintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Oruintptr(ptr *uintptr, val uintptr) uintptr
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func Cas64(ptr *uint64, old, new uint64) bool
    
    //go:noescape
    func CasRel(ptr *uint32, old, new uint32) bool
    
    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/uploadconfig/uploadconfig_test.go

    			cfg.NodeRegistration.Name = "node-foo"
    			cfg.NodeRegistration.CRISocket = kubeadmconstants.DefaultCRISocket
    
    			client := clientsetfake.NewSimpleClientset()
    			// For idempotent test, we check the result of the second call.
    			if err := UploadConfiguration(cfg, client); err != nil {
    				t2.Fatalf("UploadConfiguration() error = %v", err)
    			}
    			if tt.updateExisting {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 08:46:51 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * the listeners can be delayed slightly so that locks can be dropped. Also, because {@link
     * #dispatch} is expected to be called concurrently, it is idempotent.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class ListenerCallQueue<L> {
      // TODO(cpovirk): consider using the logger associated with listener.getClass().
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. 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)
  10. cni/pkg/iptables/iptables_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	compareToGolden(t, false, tt.name, ext.ExecutedAll)
    
    	*ext = dep.DependenciesStub{}
    	// run another time to make sure we are idempotent
    	err = iptConfigurator.CreateInpodRules(&probeSNATipv4, &probeSNATipv6)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	compareToGolden(t, false, tt.name, ext.ExecutedAll)
    }
    
    func ipstr(ipv6 bool) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 20:16:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top