Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for idempotency (0.15 sec)

  1. src/net/http/request.go

    		case "GET", "HEAD", "OPTIONS", "TRACE":
    			return true
    		}
    		// The Idempotency-Key, while non-standard, is widely used to
    		// mean a POST or other request is idempotent. See
    		// https://golang.org/issue/19943#issuecomment-421092421
    		if r.Header.has("Idempotency-Key") || r.Header.has("X-Idempotency-Key") {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    			toBinary(r1),
    			toBinary(r),
    		)
    		return
    	}
    
    	// h and f should be the same
    	// (repeated rounding should be idempotent)
    	h := new(Float).SetMode(mode).SetPrec(prec).Set(f)
    	if !alike(h, f) {
    		t.Errorf("round %s (%d bits, %s) not idempotent: got %s and %s; want %s",
    			toBinary(x), prec, mode,
    			toBinary(h.int64()),
    			toBinary(r1),
    			toBinary(r),
    		)
    		return
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  3. src/net/http/transport.go

    // request is idempotent and either has no body or has its [Request.GetBody]
    // defined. HTTP requests are considered idempotent if they have HTTP methods
    // GET, HEAD, OPTIONS, or TRACE; or if their [Header] map contains an
    // "Idempotency-Key" or "X-Idempotency-Key" entry. If the idempotency key
    // value is a zero-length slice, the request is treated as idempotent but the
    // header is not sent on the wire.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      //
      // Applied only if Name is not specified.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
      // +optional
      optional string generateName = 2;
    
      // Namespace defines the space within which each name must be unique. An empty namespace is
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      //
      // Applied only if Name is not specified.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
      // +optional
      optional string generateName = 2;
    
      // Namespace defines the space within which each name must be unique. An empty namespace is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	//
    	// Applied only if Name is not specified.
    	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
    	// +optional
    	GenerateName string `json:"generateName,omitempty" protobuf:"bytes,2,opt,name=generateName"`
    
    	// Namespace defines the space within which each name must be unique. An empty namespace is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
  7. src/crypto/tls/handshake_messages.go

    //
    // For most messages, the message is marshalled using their marshal method,
    // since their wire representation is idempotent. For clientHelloMsg and
    // serverHelloMsg, we store the original wire representation of the message and
    // use that for hashing, since unmarshal/marshal are not idempotent due to
    // extension ordering and other malleable fields, which may cause differences
    // between what was received and what we marshal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    	defer r.customStorageLock.Unlock()
    
    	storageMap := r.customStorage.Load().(crdStorageMap)
    	for _, crdInfo := range storageMap {
    		for _, storage := range crdInfo.storages {
    			// DestroyFunc have to be implemented in idempotent way,
    			// so the potential race with r.tearDown() (being called
    			// from a goroutine) is safe.
    			storage.CustomResource.DestroyFunc()
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/types.go

    	// if the object being admitted is modified by other admission plugins after the initial webhook call.
    	// Webhooks that specify this option *must* be idempotent, and hence able to process objects they previously admitted.
    	// Note:
    	// * the number of additional invocations is not guaranteed to be exactly one.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      // post order gives a maximal clustering) holds.  Once the linear time
      // post-order scheme has been battle tested we can move this to happen only in
      // debug builds.
      VLOG(2) << "Checking idempotence";
      TF_ASSIGN_OR_RETURN(bool changed,
                          ForEachEdgeInPostOrder([&](Cluster* from, Cluster* to) {
                            return TryToContractEdge(from, to);
                          }));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top