Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 6,241 for If (0.06 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    	if err != nil {
    		return nil, err
    	}
    	return setupConfigdumpEnvoyConfigWriter(debug, out)
    }
    
    func readFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                result = true;
            } else if (mirrorLayout.equals(repoLayout)) {
                result = true;
            } else {
                // process the list
                String[] layouts = mirrorLayout.split(",");
                for (String layout : layouts) {
                    // see if this is a negative match
                    if (layout.length() > 1 && layout.startsWith("!")) {
                        if (layout.substring(1).equals(repoLayout)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            List methods = (List) getHeaderFields0().get(authHeader);
            if (methods == null) return null;
            Iterator iterator = methods.iterator();
            while (iterator.hasNext()) {
                String currentAuthMethod = (String) iterator.next();
                if (currentAuthMethod.startsWith("NTLM")) {
                    if (currentAuthMethod.length() == 4) {
                        authMethod = "NTLM";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        val listener = (call as? RealCall)?.eventListener ?: EventListener.NONE
    
        if (cacheCandidate != null && cacheResponse == null) {
          // The cache candidate wasn't applicable. Close it.
          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        public String replaceUrls(final String text) {
            if (cachedPathMappingList == null) {
                synchronized (this) {
                    if (cachedPathMappingList == null) {
                        init();
                    }
                }
            }
            String result = text;
            for (final PathMapping pathMapping : cachedPathMappingList) {
                if (matchUserAgent(pathMapping)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. internal/config/policy/opa/config.go

    	args := Args{}
    
    	if err := config.CheckValidKeys(config.PolicyOPASubSys, kv, DefaultKVS); err != nil {
    		return args, err
    	}
    
    	opaURL := env.Get(EnvIamOpaURL, "")
    	if opaURL == "" {
    		opaURL = env.Get(EnvPolicyOpaURL, kv.Get(URL))
    		if opaURL == "" {
    			return args, nil
    		}
    	}
    	authToken := env.Get(EnvIamOpaAuthToken, "")
    	if authToken == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. internal/crypto/sse-c.go

    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C header. SSE-C copy headers are ignored.
    func (ssec) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerAlgorithm]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerKey]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerKeyMD5]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        boolean removedPredecessor;
    
        if (previousValue == PRED) {
          adjacentNodeValues.remove(node);
          removedPredecessor = true;
        } else if (previousValue instanceof PredAndSucc) {
          adjacentNodeValues.put((N) node, ((PredAndSucc) previousValue).successorValue);
          removedPredecessor = true;
        } else {
          removedPredecessor = false;
        }
    
        if (removedPredecessor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. cmd/postpolicyform.go

    			metaMap[formCanonicalName] = policy.Value
    		}
    	}
    	// Check if any extra metadata field is passed as input
    	for key := range formValues {
    		if strings.HasPrefix(key, "X-Amz-Meta-") {
    			if _, ok := metaMap[key]; !ok {
    				return fmt.Errorf("Invalid according to Policy: Extra input fields: %s", key)
    			}
    		}
    	}
    
    	// Flag to indicate if all policies conditions are satisfied
    	var condPassed bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. internal/s3select/simdj/record.go

    	}
    	b, err := elems.MarshalJSON()
    	if err != nil {
    		return err
    	}
    	n, err := writer.Write(b)
    	if err != nil {
    		return err
    	}
    	if n != len(b) {
    		return io.ErrShortWrite
    	}
    	return nil
    }
    
    // Replace the underlying buffer of json data.
    func (r *Record) Replace(k interface{}) error {
    	v, ok := k.(simdjson.Object)
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top