Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Platte (0.18 sec)

  1. cmd/data-usage-cache.go

    		e := d.Cache[id]
    		if len(e.Children) > 0 {
    			e = d.flatten(e)
    		}
    		m[id] = e
    	}
    	return m
    }
    
    // flatten all children of the root into the root element and return it.
    func (d *dataUsageCache) flatten(root dataUsageEntry) dataUsageEntry {
    	for id := range root.Children {
    		e := d.Cache[id]
    		if len(e.Children) > 0 {
    			e = d.flatten(e)
    		}
    		root.merge(e)
    	}
    	root.Children = nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. cmd/erasure.go

    					// updates-collector goroutine still
    					// holds a reference to this.
    					wg.Wait()
    					continue
    				}
    
    				wg.Wait()
    				// Flatten for upstream, but save full state.
    				var root dataUsageEntry
    				if r := cache.root(); r != nil {
    					root = cache.flatten(*r)
    					if root.ReplicationStats.empty() {
    						root.ReplicationStats = nil
    					}
    				}
    				select {
    				case <-ctx.Done():
    					return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  3. src/archive/zip/writer.go

    	// think, see e.g. comments in zipfile.c:putextended() and
    	// https://bugs.openjdk.org/browse/JDK-7073588.
    	// The approach here is to write 8 byte sizes if needed without
    	// adding a zip64 extra in the local header (too late anyway).
    	var buf []byte
    	if w.isZip64() {
    		buf = make([]byte, dataDescriptor64Len)
    	} else {
    		buf = make([]byte, dataDescriptorLen)
    	}
    	b := writeBuf(buf)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    				} else {
    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v", podName, podNamespace, resp)
    				}
    			}
    			if err := multierror.Flatten(errs.ErrorOrNil()); err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	levelListString := fmt.Sprintf("[%s, %s, %s, %s, %s, %s, %s]",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  5. internal/logger/logger.go

    func IsJSON() bool {
    	return jsonFlag
    }
    
    // IsQuiet - returns true if quietFlag is true
    func IsQuiet() bool {
    	return quietFlag
    }
    
    // RegisterError registers the specified rendering function. This latter
    // will be called for a pretty rendering of fatal errors.
    func RegisterError(f func(string, error, bool) string) {
    	errorFmtFunc = f
    }
    
    // uniq swaps away duplicate elements in data, returning the size of the
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    		// NOTE: if not using LDAP, then internal IDP or open ID is
    		// being used - in the former, group info is enforced when
    		// generated credentials are used to make requests, and in the
    		// latter, a group notion is not supported.
    	}
    
    	newCred, updatedAt, err := globalIAMSys.NewServiceAccount(ctx, targetUser, targetGroups, opts)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	// be mangled. Any existing identifier that already has the same name on
    	// the C-side will cause the Go-mangled version to be prefixed with _.
    	// (e.g. in a struct with fields '_type' and 'type', the latter would be
    	// rendered as '__type' in Go).
    	ident := make(map[string]string)
    	used := make(map[string]bool)
    	for _, f := range dt.Field {
    		ident[f.Name] = f.Name
    		used[f.Name] = true
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. cmd/utils.go

    	return partID > globalMaxPartID
    }
    
    // profilerWrapper is created because pkg/profiler doesn't
    // provide any API to calculate the profiler file path in the
    // disk since the name of this latter is randomly generated.
    type profilerWrapper struct {
    	// Profile recorded at start of benchmark.
    	records map[string][]byte
    	stopFn  func() ([]byte, error)
    	ext     string
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  9. cmd/data-usage_test.go

    		path       string
    		isNil      bool
    		size, objs int
    		flatten    bool
    		oSizes     sizeHistogram
    	}{
    		{
    			path:    "/",
    			size:    363515,
    			flatten: true,
    			objs:    14,
    			oSizes:  sizeHistogram{0: 7, 1: 5, 2: 2},
    		},
    		{
    			path:    "/dir1",
    			size:    342210,
    			objs:    7,
    			flatten: false,
    			oSizes:  sizeHistogram{0: 2, 1: 3, 2: 2},
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. internal/s3select/sql/jsonpath.go

    		// Lookup remainder of path in each array element and
    		// make result array.
    		var result []interface{}
    		for _, a := range arr {
    			rval, flatten, err := jsonpathEval(p[1:], a)
    			if err != nil {
    				return nil, false, err
    			}
    
    			if flatten {
    				// Flatten if array.
    				if arr, ok := rval.([]interface{}); ok {
    					result = append(result, arr...)
    					continue
    				}
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top