Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for outputPath (0.09 sec)

  1. hack/lib/golang.sh

    kube::golang::outfile_for_binary() {
      local binary=$1
      local platform=$2
      local output_path="${KUBE_GOPATH}/bin"
      local bin
      bin=$(basename "${binary}")
      if [[ "${platform}" != "${host_platform}" ]]; then
        output_path="${output_path}/${platform//\//_}"
      fi
      if [[ ${GOOS} == "windows" ]]; then
        bin="${bin}.exe"
      fi
      echo "${output_path}/${bin}"
    }
    
    # Argument: the name of a Kubernetes package.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/ops.h

      uint64 hash() const { return op_.hash(index_); }
    
     private:
      Operation op_ = Operation(nullptr);
      int32 index_ = 0;
    };
    
    /// Hash class that can be used for e.g. storing Outputs in an unordered_map
    struct OutputHash {
      std::size_t operator()(const Output& output) const {
        return Hash64Combine(std::hash<Node*>()(output.node()),
                             std::hash<int32>()(output.index()));
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    		}
    	}
    	// End previous result parsing
    
    	return &conf, nil
    }
    
    func GetLoggingOptions(cfg *Config) *log.Options {
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.OutputPaths = []string{"stderr"}
    	loggingOptions.JSONEncoding = true
    	if cfg != nil {
    		// Tee all logs to UDS. Stdout will go to kubelet (hard to access, UDS will be read by the CNI DaemonSet and exposed
    		// by normal `kubectl logs`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pkg/log/scope_test.go

    	defaultScope.Error("TestBadWriter")
    }
    
    func BenchmarkLog(b *testing.B) {
    	run := func(name string, f func()) {
    		b.Run(name, func(b *testing.B) {
    			o := testOptions()
    			o.OutputPaths = []string{"/dev/null"}
    			if err := Configure(o); err != nil {
    				b.Fatalf("Got err '%v', expecting success", err)
    			}
    			for n := 0; n < b.N; n++ {
    				f()
    			}
    		})
    	}
    	run("default", func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/bugreport.go

    	mkdirOrExit(logDir)
    	f, err := os.Create(logDir)
    	if err != nil {
    		return err
    	}
    	f.Close()
    	op := []string{logDir}
    	opt2 := *opt
    	opt2.OutputPaths = op
    	opt2.ErrorOutputPaths = op
    	opt2.SetDefaultOutputLevel("default", log.InfoLevel)
    
    	return log.Configure(&opt2)
    }
    
    func logRuntime(start time.Time, format string, args ...any) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top