Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 434 for logic (0.16 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import static java.util.regex.Pattern.quote;
    
    /**
     * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11.
     *
     * Usage: java build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
     */
    public class KillLeakingJavaProcesses {
        enum ExecutionMode {
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/server.go

    			}
    		}
    	}
    
    	return s, nil
    }
    
    // Copies logic from https://github.com/kubernetes/kubernetes/blob/b152001f459/pkg/probe/http/http.go#L129-L130
    func isRedirect(code int) bool {
    	return code >= http.StatusMultipleChoices && code < http.StatusBadRequest
    }
    
    // Using the same redirect logic that kubelet does: https://github.com/kubernetes/kubernetes/blob/b152001f459/pkg/probe/http/http.go#L141
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  3. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		})
    	}
    }
    
    // removeDups removes duplicate replace directives.
    //
    // Later replace directives take priority.
    //
    // require directives are not de-duplicated. That's left up to higher-level
    // logic (MVS).
    //
    // retract directives are not de-duplicated since comments are
    // meaningful, and versions may be retracted multiple times.
    func (f *WorkFile) removeDups() {
    	removeDups(f.Syntax, nil, &f.Replace)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. tools/istio-iptables/pkg/dependencies/implementation.go

    // A: Because we are running in our own container and do not have access to the host default binary.
    // We are using our local binaries to update host rules, and we must pick the right match.
    //
    // Basic selection logic is as follows:
    // 1. see if we have `nft` binary set in our $PATH
    // 2. see if we have existing rules in `nft` in our netns
    // 3. If so, use `nft` binary set
    // 4. Otherwise, see if we have `legacy` binary set, and use that.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 19:54:50 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for GetBucketLocationHandler: <ERROR> %v", i+1, instanceType, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(rec, req)
    		if rec.Code != testCase.expectedRespStatus {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. pkg/kubelet/util/manager/cache_based_manager.go

    		}
    	}
    }
    
    // NewCacheBasedManager creates a manager that keeps a cache of all objects
    // necessary for registered pods.
    // It implements the following logic:
    //   - whenever a pod is created or updated, the cached versions of all objects
    //     is referencing are invalidated
    //   - every GetObject() call tries to fetch the value from local cache; if it is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc

        // unnecessary for non-TF QDQ models.
        pass_config.quant_specs.disable_set_input_nodes_quantization_params = true;
      }
    
      // TODO(b/153507667): Pass the session object when importing logic is removed.
      auto status = internal::ConvertMLIRToTFLiteFlatBuffer(
          model_flags, toco_flags, std::move(module), pass_config, tags, result,
          bundle.get(), quantization_py_function_lib);
      return status;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go

    	// Ignore the error when running once because when using a dynamically loaded ca file, because we think it's better to have nothing for
    	// a brief time than completely crash.  If crashing is necessary, higher order logic like a healthcheck and cause failures.
    	_ = c.loadCABundle()
    	return nil
    }
    
    // Run starts the kube-apiserver and blocks until stopCh is closed.
    func (c *ConfigMapCAController) Run(ctx context.Context, workers int) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/build/relnote/links.go

    	}
    	return &md.Link{
    		Inner: []md.Inline{&md.Code{Text: s}},
    		URL:   fmt.Sprintf("/pkg/%s%s", pkg, sym),
    	}, true
    }
    
    // isLinkAdjacentRune reports whether r can be adjacent to a symbol link.
    // The logic is the same as the go/doc/comment package.
    func isLinkAdjacentRune(r rune) bool {
    	return unicode.IsPunct(r) || r == ' ' || r == '\t' || r == '\n'
    }
    
    // splitRef splits s into a package and possibly a symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control.go

    const MaxBatchSize = 500
    
    // StatefulSetControl implements the control logic for updating StatefulSets and their children Pods. It is implemented
    // as an interface to allow for extensions that provide different semantics. Currently, there is only one implementation.
    type StatefulSetControlInterface interface {
    	// UpdateStatefulSet implements the control logic for Pod creation, update, and deletion, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top