Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for preset (0.2 sec)

  1. pkg/kubelet/eviction/eviction_manager_test.go

    			// reduce disk pressure
    			fakeClock.Step(1 * time.Minute)
    			summaryProvider.result = summaryStatsMaker(diskStatConst)
    			diskGC.imageGCInvoked = false     // reset state
    			diskGC.containerGCInvoked = false // reset state
    			podKiller.pod = nil               // reset state
    			_, err = manager.synchronize(diskInfoProvider, activePodsFunc)
    
    			if err != nil {
    				t.Fatalf("Manager should not have an error %v", err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    			rd.Replicate = true
    			return
    		}
    		// For existing object reset - this condition is needed
    		rd.Replicate = tgtStatus == ""
    		return
    	}
    	if resetID == "" || resetBeforeDate.Equal(timeSentinel) { // no reset in progress
    		return
    	}
    
    	// if already replicated, return true if a new reset was requested.
    	splits := strings.SplitN(rs, ";", 2)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  3. cluster/gce/gci/configure-helper.sh

      fi
    }
    
    function append-param-if-not-present {
      # A helper function to add flag to an arguments string
      # if no such flag is present already
      local params="$1"
      local -r flag="$2"
      local -r value="$3"
      if [[ ! "${params}" =~ "--${flag}"[=\ ] ]]; then
        params+=" --${flag}=${value}"
      fi
      echo "${params}"
    }
    
    function setup-os-params {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  4. src/net/http/server.go

    	// decisions on each request body's acceptable deadline or
    	// upload rate, most users will prefer to use
    	// ReadHeaderTimeout. It is valid to use them both.
    	ReadTimeout time.Duration
    
    	// ReadHeaderTimeout is the amount of time allowed to read
    	// request headers. The connection's read deadline is reset
    	// after reading the headers and the Handler can decide what
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	styp := etyp
    	f := styp.Field(0)
    	testType(t, 5, f.Type, "chan *int32")
    
    	f, present := styp.FieldByName("d")
    	if !present {
    		t.Errorf("FieldByName says present field is absent")
    	}
    	testType(t, 6, f.Type, "float32")
    
    	f, present = styp.FieldByName("absent")
    	if present {
    		t.Errorf("FieldByName says absent field is present")
    	}
    
    	typ = TypeOf([32]int32{})
    	testType(t, 7, typ, "[32]int32")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			return
    		}
    	}
    
    	// If src == dst and either
    	// - the object is encrypted using SSE-C and two different SSE-C keys are present
    	// - the object is encrypted using SSE-S3 and the SSE-S3 header is present
    	// - the object storage class is not changing
    	// then execute a key rotation.
    	if cpSrcDstSame && (sseCopyC && sseC) && !chStorageClass {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  7. src/database/sql/sql.go

    	if timeout <= 0 {
    		return false
    	}
    	return dc.createdAt.Add(timeout).Before(nowFunc())
    }
    
    // resetSession checks if the driver connection needs the
    // session to be reset and if required, resets it.
    func (dc *driverConn) resetSession(ctx context.Context) error {
    	dc.Lock()
    	defer dc.Unlock()
    
    	if !dc.needReset {
    		return nil
    	}
    	if cr, ok := dc.ci.(driver.SessionResetter); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    		// it, we skip the key from the kubelet-generated ones so we don't have duplicate
    		// env vars.
    		// TODO: remove this next line once all platforms use apiserver+Pods.
    		if _, present := tmpEnv[k]; !present {
    			result = append(result, kubecontainer.EnvVar{Name: k, Value: v})
    		}
    	}
    	return result, nil
    }
    
    // podFieldSelectorRuntimeValue returns the runtime value of the given
    // selector for a pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    			if target.SourceBucket == bucket &&
    				target.TargetBucket == bucket &&
    				target.Endpoint == prevEp.Host &&
    				target.Secure == (prevEp.Scheme == "https") &&
    				target.Type == madmin.ReplicationService {
    				bucketTarget := target
    				bucketTarget.Secure = ep.Scheme == "https"
    				bucketTarget.Endpoint = ep.Host
    				if peer.DefaultBandwidth.IsSet && target.BandwidthLimit == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/pkg.go

    				ImportPath: path,
    				Incomplete: true,
    			},
    		}
    		if importErr, ok := err.(ImportPathError); !ok || importErr.ImportPath() != path {
    			// Only add path to the error's import stack if it's not already present
    			// in the error.
    			//
    			// TODO(bcmills): setLoadPackageDataError itself has a similar Push / Pop
    			// sequence that empirically doesn't trigger for these errors, guarded by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top