Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 154 for write1 (0.3 sec)

  1. guava/src/com/google/common/collect/Iterators.java

       *
       * <p>This method accepts an array with element type {@code @Nullable T}, but callers must pass an
       * array whose contents are initially non-null. The {@code @Nullable} annotation indicates that
       * this method will write nulls into the array during iteration.
       *
       * <p>This is mainly just to avoid the intermediate ArrayDeque in ConsumingQueueIterator.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  2. cmd/kubelet/app/server.go

    // if no certificate is available, or the most recent clientConfig (which is assumed to point to the cert that the manager will
    // write out).
    func buildClientCertificateManager(certConfig, clientConfig *restclient.Config, certDir string, nodeName types.NodeName) (certificate.Manager, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/horizontal.go

    func (a *HorizontalController) updateStatusIfNeeded(ctx context.Context, oldStatus *autoscalingv2.HorizontalPodAutoscalerStatus, newHPA *autoscalingv2.HorizontalPodAutoscaler) error {
    	// skip a write if we wouldn't need to update
    	if apiequality.Semantic.DeepEqual(oldStatus, &newHPA.Status) {
    		return nil
    	}
    	return a.updateStatus(ctx, newHPA)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.True(ok)
    	as.Equal(int64(3), val.Value())
    	val, ok = allocatable[v1.ResourceName(resourceName2)]
    	as.True(ok)
    	as.Equal(int64(0), val.Value())
    	as.Empty(removed)
    	// Writes and re-reads checkpoints. Verifies we create a stopped endpoint
    	// for resourceName2, its capacity is set to zero, and we still consider
    	// it as a DevicePlugin resource. This makes sure any pod that was scheduled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    // with the podCIDR supplied by the kubelet.
    func (m *kubeGenericRuntimeManager) UpdatePodCIDR(ctx context.Context, podCIDR string) error {
    	// TODO(#35531): do we really want to write a method on this manager for each
    	// field of the config?
    	klog.InfoS("Updating runtime config through cri with podcidr", "CIDR", podCIDR)
    	return m.runtimeService.UpdateRuntimeConfig(ctx,
    		&runtimeapi.RuntimeConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/buildlist.go

    	// rare cases (such as if a dependency splits out a nested module, or merges a
    	// nested module back into a parent module).
    	direct map[string]bool
    
    	graphOnce sync.Once // guards writes to (but not reads from) graph
    	graph     atomic.Pointer[cachedGraph]
    }
    
    // A cachedGraph is a non-nil *ModuleGraph, together with any error discovered
    // while loading that graph.
    type cachedGraph struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  7. cmd/iam.go

    				time.Sleep(time.Duration(r.Float64() * float64(time.Second)))
    				continue
    			}
    			iamLogIf(ctx, fmt.Errorf("IAM sub-system is partially initialized, unable to write the IAM format: %w", err), logger.WarningKind)
    			return
    		}
    
    		break
    	}
    
    	// Load IAM data from storage.
    	for {
    		if err := sys.Load(retryCtx, true); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. src/runtime/mgcpacer.go

    	// since it is both written and read throughout the cycle.
    	bgScanCredit atomic.Int64
    
    	// assistTime is the nanoseconds spent in mutator assists
    	// during this cycle. This is updated atomically, and must also
    	// be updated atomically even during a STW, because it is read
    	// by sysmon. Updates occur in bounded batches, since it is both
    	// written and read throughout the cycle.
    	assistTime atomic.Int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/text/template/exec_test.go

    		t.Fatalf("unexpected error: %s", str)
    	}
    }
    
    const alwaysErrorText = "always be failing"
    
    var alwaysError = errors.New(alwaysErrorText)
    
    type ErrorWriter int
    
    func (e ErrorWriter) Write(p []byte) (int, error) {
    	return 0, alwaysError
    }
    
    func TestExecuteGivesExecError(t *testing.T) {
    	// First, a non-execution error shouldn't be an ExecError.
    	tmpl, err := New("X").Parse("hello")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * @see Project#property(String)
         */
        @Nullable
        Object findProperty(String propertyName);
    
        /**
         * <p>Returns the logger for this project. You can use this in your build file to write log messages.</p>
         *
         * @return The logger. Never returns null.
         */
        Logger getLogger();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top