Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Platte (0.21 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v\n", podName, podNamespace, resp)
    				} else {
    					errs = multierror.Append(fmt.Errorf("%v.%v: %v", podName, podNamespace, err))
    				}
    			}
    			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 May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    			85, 120, 0, 0, // tag 30805 size 0
    		},
    	}
    	testValidHeader(&h, t)
    }
    
    // Just benchmarking how fast the Zip64 test above is. Not related to
    // our zip performance, since the test above disabled CRC32 and flate.
    func BenchmarkZip64Test(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		testZip64(b, 1<<26)
    	}
    }
    
    func BenchmarkZip64TestSizes(b *testing.B) {
    	for _, size := range []int64{1 << 12, 1 << 20, 1 << 26} {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	// Parse the bucket modtime
    	creationTime, err := time.Parse(iso8601TimeFormat, createdBucket.CreationDate)
    	c.Assert(err, nil)
    
    	// Check if bucket modtime is consistent (not less than current time and not late more than 5 minutes)
    	timeNow := time.Now().UTC()
    	c.Assert(creationTime.Before(timeNow), true)
    	c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	// but with iptables rules - use `--socket-exists` as a proxy for "is this a forwarded packet" vs "is this originating from
    	// a local node socket". If the latter, outside the pod in the host netns, redirect that traffic to a hardcoded/custom proxy
    	// healthcheck port, just like we used to. Otherwise, we can't assume it's local-node privileged traffic, and will capture and process it normally.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  9. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top