Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 117 for rack (0.13 sec)

  1. cmd/bucket-metadata-sys.go

    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) {
    	if !isMinioMetaBucketName(bucket) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. cmd/http-stats.go

    }
    
    func (st *HTTPStats) incS3RequestsIncoming() {
    	// Golang automatically resets to zero if this overflows
    	atomic.AddUint64(&st.s3RequestsIncoming, 1)
    }
    
    // Converts http stats into struct to be sent back to the client.
    func (st *HTTPStats) toServerHTTPStats(toLowerKeys bool) ServerHTTPStats {
    	serverStats := ServerHTTPStats{}
    	serverStats.S3RequestsIncoming = atomic.SwapUint64(&st.s3RequestsIncoming, 0)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. istioctl/pkg/wait/wait.go

    // the current generation of the targetResource, adding new versions
    // as they are created.
    func getAndWatchResource(ictx context.Context, cliCtx cli.Context) *watcher {
    	g := withContext(ictx)
    	// copy nameflag to avoid race
    	nf := nameflag
    	g.Go(func(result chan string) error {
    		// retrieve latest generation from Kubernetes
    		kc, err := cliCtx.CLIClient()
    		if err != nil {
    			return err
    		}
    		dclient := kc.Dynamic()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    		if origin := w.Header().Get("Access-Control-Allow-Origin"); origin == "null" {
    			// This is a workaround change to ensure that "Origin: null"
    			// incoming request to a response back as "*" instead of "null"
    			w.Header().Set("Access-Control-Allow-Origin", "*")
    		}
    		if globalDNSConfig == nil || !globalBucketFederation ||
    			guessIsHealthCheckReq(r) || guessIsMetricsReq(r) ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    	return dm.lockBlocking(ctx, cancel, id, source, isReadLock, opts)
    }
    
    // lockBlocking will try to acquire either a read or a write lock
    //
    // The function will loop using a built-in timing randomized back-off
    // algorithm until either the lock is acquired successfully or more
    // time has elapsed than the timeout value.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    	} else {
    		injector, err = setUpExternalInjector(cliContext, revision, injectorAddress)
    		if err != nil || injector.clientConfig == nil {
    			log.Warnf("failed to get injection config from mutatingWebhookConfigurations %q, will fall back to "+
    				"get injection from the injection configmap %q : %v", whcName, defaultInjectWebhookConfigName, err)
    			if *sidecarTemplate, err = getInjectConfigFromConfigMap(cliContext, revision); err != nil {
    				return nil, nil, err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    				}
    			}
    			// add this version back to remaining versions for
    			// subsequent lifecycle policy applications
    			objectInfos = append(objectInfos, obj)
    			continue
    		}
    
    		// NoncurrentDays not passed yet.
    		if time.Now().UTC().Before(lifecycle.ExpectedExpiryTime(obj.SuccessorModTime, event.NoncurrentDays)) {
    			// add this version back to remaining versions for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    // A Header represents a single header in a tar archive.
    // Some fields may not be populated.
    //
    // For forward compatibility, users that retrieve a Header from Reader.Next,
    // mutate it in some ways, and then pass it back to Writer.WriteHeader
    // should do so by creating a new Header and copying the fields
    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. src/archive/tar/tar_test.go

    		t.Fatalf("tw.WriteHeader: %v", err)
    	}
    	if _, err := tw.Write(data); err != nil {
    		t.Fatalf("tw.Write: %v", err)
    	}
    	if err := tw.Close(); err != nil {
    		t.Fatalf("tw.Close: %v", err)
    	}
    
    	// Read it back.
    	tr := NewReader(&b)
    	rHdr, err := tr.Next()
    	if err != nil {
    		t.Fatalf("tr.Next: %v", err)
    	}
    	if !reflect.DeepEqual(rHdr, hdr) {
    		t.Errorf("Header mismatch.\n got %+v\nwant %+v", rHdr, hdr)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    	line, err = b.ReadSlice('\n')
    	if err == ErrBufferFull {
    		// Handle the case where "\r\n" straddles the buffer.
    		if len(line) > 0 && line[len(line)-1] == '\r' {
    			// Put the '\r' back on buf and drop it from line.
    			// Let the next call to ReadLine check for "\r\n".
    			if b.r == 0 {
    				// should be unreachable
    				panic("bufio: tried to rewind past start of buffer")
    			}
    			b.r--
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top