Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Hurley (0.16 sec)

  1. cmd/generic-handlers.go

    	"index.html":        {},
    	minioReservedBucket: {},
    }
    
    // Fetch redirect location if urlPath satisfies certain
    // criteria. Some special names are considered to be
    // redirectable, this is purely internal function and
    // serves only limited purpose on redirect-handler for
    // browser requests.
    func getRedirectLocation(r *http.Request) *xnet.URL {
    	resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		for _, v := range vectors {
    			b.Run(v.label, func(b *testing.B) {
    				b.ReportAllocs()
    				for i := 0; i < b.N; i++ {
    					// Writing to io.Discard because we want to
    					// test purely the writer code and not bring in disk performance into this.
    					tw := NewWriter(io.Discard)
    					for _, file := range v.files {
    						if err := tw.WriteHeader(file.hdr); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. internal/lock/lock_windows_test.go

    	// 248 is long enough to trigger the longer-than-248 checks in
    	// fixLongPath, but short enough not to make a path component
    	// longer than 255, which is illegal on Windows. (which
    	// doesn't really matter anyway, since this is purely a string
    	// function we're testing, and it's not actually being used to
    	// do a system call)
    	veryLong := "l" + strings.Repeat("o", 248) + "ng"
    	for _, test := range []struct{ in, want string }{
    		// Short; unchanged:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    		// The growth rate has historically always been 2x. In the future,
    		// we could rely purely on append to determine the growth rate.
    		c = 2 * cap(b)
    	}
    	b2 := append([]byte(nil), make([]byte, c)...)
    	copy(b2, b)
    	return b2[:len(b)]
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    			// any valid content, if any is recoverable. But if
    			// notFoundDataDirs are already greater than the data
    			// blocks all bets are off and it is safe to purge.
    			//
    			// This is purely a defensive code, ideally parityBlocks
    			// is sufficient, however we can't know that since we
    			// do have the FileInfo{}.
    			return validMeta, true
    		}
    
    		// We have no idea what this file is, leave it as is.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/server.go

    	log.Debugf("annotating pod %s", pod.Name)
    	if err := util.AnnotateEnrolledPod(s.kubeClient, &pod.ObjectMeta); err != nil {
    		log.Errorf("failed to annotate pod enrollment: %v", err)
    		// don't return error here, as this is purely informational.
    	}
    	return retErr
    }
    
    func (s *meshDataplane) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top