Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for is_set (0.18 sec)

  1. tests/test_repeated_cookie_headers.py

        return {"dep": dep}
    
    
    @app.get("/indirectCookie")
    def get_indirect_cookie(dep: str = Depends(set_indirect_cookie)):
        return {"dep": dep}
    
    
    client = TestClient(app)
    
    
    def test_cookie_is_set_once():
        direct_response = client.get("/directCookie")
        indirect_response = client.get("/indirectCookie")
        assert (
            direct_response.headers["set-cookie"] == indirect_response.headers["set-cookie"]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 13 12:44:51 GMT 2020
    - 792 bytes
    - Viewed (0)
  2. cni/pkg/ipset/ipset.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"errors"
    	"fmt"
    	"net/netip"
    )
    
    type IPSet struct {
    	V4Name string
    	V6Name string
    	Prefix string
    	Deps   NetlinkIpsetDeps
    }
    
    const (
    	V4Name = "%s-v4"
    	V6Name = "%s-v6"
    )
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. manifests/charts/istiod-remote/files/injection-template.yaml

      {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPULimit`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemoryLimit`) }}
        {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) }}
          requests:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  4. manifests/charts/istio-control/istio-discovery/files/injection-template.yaml

      {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPULimit`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemoryLimit`) }}
        {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) }}
          requests:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 23.7K bytes
    - Viewed (1)
  5. cmd/common-main.go

    	//nolint:gocritic
    	if !env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		logger.Fatal(config.ErrMissingEnvCredentialRootUser(nil), "Unable to start MinIO")
    	} else if env.IsSet(config.EnvRootUser) && !env.IsSet(config.EnvRootPassword) {
    		logger.Fatal(config.ErrMissingEnvCredentialRootPassword(nil), "Unable to start MinIO")
    	} else if !env.IsSet(config.EnvRootUser) && !env.IsSet(config.EnvRootPassword) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml

      {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPULimit`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemoryLimit`) }}
        {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) }}
          requests:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

    }
    
    TF_Buffer* TF_GetHandleShapeAndType(TF_Graph* graph, TF_Output output) {
      Node* node = &output.oper->node;
      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      handle_data.set_is_set(true);
      {
        mutex_lock l(graph->mu);
        tensorflow::shape_inference::InferenceContext* ic =
            graph->refiner.GetContext(node);
        CHECK(ic != nullptr);                       // Crash OK
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    	case c.Is(ChecksumCRC32C):
    		return 4
    	case c.Is(ChecksumSHA1):
    		return sha1.Size
    	case c.Is(ChecksumSHA256):
    		return sha256.Size
    	}
    	return 0
    }
    
    // IsSet returns whether the type is valid and known.
    func (c ChecksumType) IsSet() bool {
    	return !c.Is(ChecksumInvalid) && !c.Is(ChecksumNone)
    }
    
    // NewChecksumType returns a checksum type based on the algorithm string.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. cmd/admin-bucket-handlers.go

    	}
    	switch fname {
    	case bucketPolicyConfig:
    		st.Policy = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketNotificationConfig:
    		st.Notification = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketLifecycleConfig:
    		st.Lifecycle = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketSSEConfig:
    		st.SSEConfig = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketTaggingConfig:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. cmd/api-headers.go

    			continue
    		}
    
    		var isSet bool
    		for _, userMetadataPrefix := range userMetadataKeyPrefixes {
    			if !stringsHasPrefixFold(k, userMetadataPrefix) {
    				continue
    			}
    			w.Header()[strings.ToLower(k)] = []string{v}
    			isSet = true
    			break
    		}
    
    		if !isSet {
    			w.Header().Set(k, v)
    		}
    	}
    
    	var start, rangeLen int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
Back to top