Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for idempotency (0.14 sec)

  1. cmd/kubeadm/app/util/apiclient/idempotency.go

    Lubomir I. Ivanov <******@****.***> 1707839730 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks));
    
            // check idempotency
            Iterable<?> locks2 = striped.bulkGet(objects);
            assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2));
          }
        }
      }
    
      /** Checks idempotency, and that we observe the promised number of stripes. */
      public void testBasicInvariants() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks));
    
            // check idempotency
            Iterable<?> locks2 = striped.bulkGet(objects);
            assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2));
          }
        }
      }
    
      /** Checks idempotency, and that we observe the promised number of stripes. */
      public void testBasicInvariants() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list_test.go

    		workEstimateGot := list.QueueSum()
    		assert(t, &queueSumExpected, &workEstimateGot)
    
    		// check idempotency
    		removeFn[i]()
    
    		workEstimateGot = list.QueueSum()
    		assert(t, &queueSumExpected, &workEstimateGot)
    	}
    
    	// Check second type of idempotency: Dequeue + removeFn.
    	for i := range arrival {
    		req := arrival[i]
    		removeFn[i] = list.Enqueue(req)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:48:40 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/testing/helpers.go

    		}
    		if a.GetObject() != nil {
    			// keep a copy of the output for subsequent idempotency checking
    			outputs = append(outputs, a.GetObject().DeepCopyObject())
    			// replace a.GetObject() with a copy of itself to make sure admission is safe to reinvoke with a round-tripped copy (no pointer comparisons are done)
    			if deepCopyInto, ok := reflect.TypeOf(a.GetObject()).MethodByName("DeepCopyInto"); ok {
    				deepCopyInto.Func.Call([]reflect.Value{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/gofmt/long_test.go

    	// the first and 2nd result should be identical
    	if !bytes.Equal(b1.Bytes(), b2.Bytes()) {
    		// A known instance of gofmt not being idempotent
    		// (see Issue #24472)
    		if strings.HasSuffix(filename, "issue22662.go") {
    			t.Log("known gofmt idempotency bug (Issue #24472)")
    			return
    		}
    		t.Errorf("gofmt %s not idempotent", filename)
    	}
    }
    
    func testFiles(t *testing.T, filenames <-chan string, done chan<- int) {
    	b1 := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/html/template/attr.go

    package template
    
    import (
    	"strings"
    )
    
    // attrTypeMap[n] describes the value of the given attribute.
    // If an attribute affects (or can mask) the encoding or interpretation of
    // other content, or affects the contents, idempotency, or credentials of a
    // network message, then the value in this map is contentTypeUnsafe.
    // This map is derived from HTML5, specifically
    // https://www.w3.org/TR/html5/Overview.html#attributes-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  8. pkg/volume/downwardapi/downwardapi.go

    	klog.V(3).Infof("Setting up a downwardAPI volume %v for pod %v/%v at %v", b.volName, b.pod.Namespace, b.pod.Name, dir)
    	// Wrap EmptyDir. Here we rely on the idempotency of the wrapped plugin to avoid repeatedly mounting
    	wrapped, err := b.plugin.host.NewWrapperMounter(b.volName, wrappedVolumeSpec(), b.pod, *b.opts)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. pilot/pkg/xds/cds_test.go

    					names.Insert(n.GetExact())
    				}
    				assert.Equal(t, sets.SortedList(names), sets.SortedList(sets.New(sans...)))
    			}
    			// Run multiple assertions to verify idempotency; previous versions had issues here.
    			for i := 0; i < 2; i++ {
    				clusters := s.Clusters(s.SetupProxy(&model.Proxy{ConfigNamespace: "test"}))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/net/http/requestwrite_test.go

    				"X-Idempotency-Key": nil,
    			},
    		},
    
    		WantWrite: "GET /foo HTTP/1.1\r\n" +
    			"Host: \r\n" +
    			"User-Agent: Go-http-client/1.1\r\n" +
    			"X-Foo: X-Bar\r\n\r\n",
    	},
    	24: {
    		Req: Request{
    			Method: "GET",
    			URL:    mustParseURL("/foo"),
    			Header: Header{
    				"X-Foo":             []string{"X-Bar"},
    				"X-Idempotency-Key": []string{},
    			},
    		},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
Back to top