Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 173 for Write (0.29 sec)

  1. 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)
  2. 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)
  3. cmd/batch-handlers.go

    		return
    	}
    
    	buf, err := yaml.Marshal(req)
    	if err != nil {
    		batchLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	w.Write(buf)
    }
    
    // StarBatchJob queue a new job for execution
    func (a adminAPIHandlers) StartBatchJob(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

    }
    
    type testResponseWriter struct {
    	statusCode int
    	response   []byte
    }
    
    func (w *testResponseWriter) Header() http.Header {
    	return nil
    }
    
    func (w *testResponseWriter) Write(p []byte) (int, error) {
    	w.response = append(w.response, p...)
    	return len(p), nil
    }
    
    func (w *testResponseWriter) WriteHeader(statusCode int) {
    	w.statusCode = statusCode
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  5. gradle/verification-metadata.xml

       troubleshooting guide at https://docs.gradle.org/current/userguide/dependency_verification.html
    
       This build uses PGP verification and SHA256 checksum verification for unsigned artifacts:
    
       ./gradlew -i -write-verification-metadata sha256,pgp -export-keys resolveAllDependencies
    
       Then check the diff, remove the unnecessary entries (for old dependencies) and make sure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 22:30:36 UTC 2024
    - 90.1K bytes
    - Viewed (0)
  6. src/html/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: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/runtime/mgcscavenge.go

    	// Each huge page is guaranteed to fit in a single palloc chunk.
    	//
    	// TODO(mknyszek): Support larger huge page sizes.
    	// TODO(mknyszek): Consider taking pages-per-huge-page as a parameter
    	// so we can write tests for this.
    	if physHugePageSize > pageSize && physHugePageSize > physPageSize {
    		// We have huge pages, so let's ensure we don't break one by scavenging
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  10. src/go/printer/nodes.go

    // as well as whether a newline character was seen.
    type sizeCounter struct {
    	hasNewline bool
    	size       int
    }
    
    func (c *sizeCounter) Write(p []byte) (int, error) {
    	if !c.hasNewline {
    		for _, b := range p {
    			if b == '\n' || b == '\f' {
    				c.hasNewline = true
    				break
    			}
    		}
    	}
    	c.size += len(p)
    	return len(p), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top