Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for SLICE (1.16 sec)

  1. pkg/volume/testing/testing.go

    // optionally set it's output (stdout and stderr combined) and return code.
    type CommandScript struct {
    	// Cmd is the command to execute, e.g. "ls"
    	Cmd string
    	// Args is a slice of arguments to pass to the command, e.g. "-a"
    	Args []string
    	// Output is the combined stdout and stderr of the command to return
    	Output string
    	// ReturnCode is the exit code for the command. Setting this to non-zero will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    // 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.
    type Transport struct {
    	idleMu       sync.Mutex
    	closeIdle    bool                                // user has requested to close all idle conns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        [(HasOneUse $log_softmax),
         (AxesIsLastDimension $axes, $logits)]>;
    }
    
    def CanOptimizeIdentitySliceOp : Constraint<CPred<
      "TFL::CanOptimizeIdentitySliceOp($0, $1, $2)">>;
    
    // Remove Slice ops slicing the whole input tensor, effectively no-op.
    def OptimizeSliceOp : Pat<
      (TFL_SliceOp:$output $input, (Arith_ConstantOp $begin), (Arith_ConstantOp $size)),
      (replaceWithValue $input),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. src/net/http/request.go

    func (r *Request) Cookies() []*Cookie {
    	return readCookies(r.Header, "")
    }
    
    // CookiesNamed parses and returns the named HTTP cookies sent with the request
    // or an empty slice if none matched.
    func (r *Request) CookiesNamed(name string) []*Cookie {
    	if name == "" {
    		return []*Cookie{}
    	}
    	return readCookies(r.Header, name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. src/time/format.go

    const (
    	lowerhex  = "0123456789abcdef"
    	runeSelf  = 0x80
    	runeError = '\uFFFD'
    )
    
    func quote(s string) string {
    	buf := make([]byte, 1, len(s)+2) // slice will be at least len(s) + quotes
    	buf[0] = '"'
    	for i, c := range s {
    		if c >= runeSelf || c < ' ' {
    			// This means you are asking us to parse a time.Duration or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		result.AddSyncResult(createSandboxResult)
    
    		// ConvertPodSysctlsVariableToDotsSeparator converts sysctl variable
    		// in the Pod.Spec.SecurityContext.Sysctls slice into a dot as a separator.
    		// runc uses the dot as the separator to verify whether the sysctl variable
    		// is correct in a separate namespace, so when using the slash as the sysctl
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  7. src/internal/trace/order.go

    // add completed events to the ordering. Next is used to pick
    // off events in the ordering.
    type ordering struct {
    	gStates     map[GoID]*gState
    	pStates     map[ProcID]*pState // TODO: The keys are dense, so this can be a slice.
    	mStates     map[ThreadID]*mState
    	activeTasks map[TaskID]taskState
    	gcSeq       uint64
    	gcState     gcState
    	initialGen  uint64
    	queue       queue[Event]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    			return
    		}
    		for _, dnsRecords := range dnsBuckets {
    			buckets = append(buckets, BucketInfo{
    				Name:    dnsRecords[0].Key,
    				Created: dnsRecords[0].CreationDate,
    			})
    		}
    		sort.Slice(buckets, func(i, j int) bool {
    			return buckets[i].Name < buckets[j].Name
    		})
    	} else {
    		buckets, err = objectAPI.ListBuckets(ctx, BucketOptions{Cached: true})
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Fixed a bug in the JSON frame reader that could cause it to retain a reference to the underlying array of the byte slice passed to Read. ([#123620](https://github.com/kubernetes/kubernetes/pull/123620), [@benluddy](https://github.com/benluddy)) [SIG API Machinery]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	queryValue["prefix"] = prefixes
    	queryValue["suffix"] = suffixes
    	queryValue["events"] = events
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // getRandomDisks - Creates a slice of N random disks, each of the form - minio-XXX
    func getRandomDisks(n int) ([]string, error) {
    	var erasureDisks []string
    	for i := 0; i < n; i++ {
    		path, err := os.MkdirTemp(globalTestTmpDir, "minio-")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top