Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,507 for addLog (0.2 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    	var (
    		mu  sync.Mutex
    		log []string
    	)
    	addLog := func(event string) {
    		mu.Lock()
    		defer mu.Unlock()
    		log = append(log, event)
    	}
    	rp := NewSingleHostReverseProxy(backendURL)
    	const size = 1234
    	rp.BufferPool = bufferPool{
    		get: func() []byte {
    			addLog("getBuf")
    			return make([]byte, size)
    		},
    		put: func(p []byte) {
    			addLog("putBuf-" + strconv.Itoa(len(p)))
    		},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/addmod.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    // +build ignore
    
    // Addmod adds a module as a txtar archive to the testdata/mod directory.
    //
    // Usage:
    //
    //	go run addmod.go path@version...
    //
    // It should only be used for very small modules - we do not want to check
    // very large files into testdata/mod.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-api/src/main/java/org/gradle/declarative/dsl/model/annotations/Adding.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Target(ElementType.METHOD)
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 926 bytes
    - Viewed (0)
  4. cluster/gce/manifests/kube-addon-manager.yaml

            drop:
            - all
        # When updating version also bump it in:
        # - test/kubemark/resources/manifests/kube-addon-manager.yaml
        image: registry.k8s.io/addon-manager/kube-addon-manager:v9.1.7
        command:
        - /bin/bash
        - -c
        - exec /opt/kube-addons-main.sh 1>>/var/log/kube-addon-manager.log 2>&1
        resources:
          requests:
            cpu: 5m
            memory: 50Mi
        volumeMounts:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 03:09:15 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. releasenotes/notes/addon-remove.yaml

    Brian Avery <******@****.***> 1597180858 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 11 21:20:58 UTC 2020
    - 344 bytes
    - Viewed (0)
  6. pkg/kubelet/prober/testing/fake_manager.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // FakeManager simulates a prober.Manager for testing.
    type FakeManager struct{}
    
    // Unused methods below.
    
    // AddPod simulates adding a Pod.
    func (FakeManager) AddPod(_ *v1.Pod) {}
    
    // RemovePod simulates removing a Pod.
    func (FakeManager) RemovePod(_ *v1.Pod) {}
    
    // Simulated stopping liveness and startup probes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. pkg/kubelet/prober/prober_manager_test.go

    	m := newTestManager()
    	defer cleanup(t, m)
    	if err := expectProbes(m, nil); err != nil {
    		t.Error(err)
    	}
    
    	// Adding a pod with no probes should be a no-op.
    	m.AddPod(&noProbePod)
    	if err := expectProbes(m, nil); err != nil {
    		t.Error(err)
    	}
    
    	// Adding a pod with probes.
    	m.AddPod(&probePod)
    	probePaths := []probeKey{
    		{"probe_pod", "readiness", readiness},
    		{"probe_pod", "liveness", liveness},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. cluster/addons/addon-manager/kube-addons.sh

    # This label is deprecated (only for Addon Manager). In future release
    # addon-manager may not respect it anymore. Addons with
    # CLUSTER_SERVICE_LABEL=true and without ADDON_MANAGER_LABEL=EnsureExists
    # will be reconciled for now.
    CLUSTER_SERVICE_LABEL="kubernetes.io/cluster-service"
    
    # Whether only one addon manager should be running in a multi-master setup.
    # Disabling this flag will force all addon managers to assume they are the
    # leaders.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 05:40:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	dsw.AddNode(nodeName1)
    	dsw.AddNode(nodeName2)
    
    	generatedVolumeName, podAddErr := dsw.AddPod(types.UniquePodName(podName1), controllervolumetesting.NewPod(podName1, podName1), volumeSpec, nodeName1)
    	if podAddErr != nil {
    		t.Fatalf("AddPod failed. Expected: <no error> Actual: <%v>", podAddErr)
    	}
    
    	_, podAddErr = dsw.AddPod(types.UniquePodName(podName2), controllervolumetesting.NewPod(podName2, podName2), volumeSpec, nodeName2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  10. src/reflect/abi.go

    	} else {
    		e = a.valueStart[i+1]
    	}
    	return a.steps[s:e]
    }
    
    // addArg extends the abiSeq with a new Go value of type t.
    //
    // If the value was stack-assigned, returns the single
    // abiStep describing that translation, and nil otherwise.
    func (a *abiSeq) addArg(t *abi.Type) *abiStep {
    	// We'll always be adding a new value, so do that first.
    	pStart := len(a.steps)
    	a.valueStart = append(a.valueStart, pStart)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top