Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 181 for resc (0.12 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            assertFalse(desc, isGuarded(method));
            assertTrue(desc, isTimed(method));
            break;
          case 3:
            assertTrue(desc, isGuarded(method));
            assertTrue(desc, isTimed(method));
            break;
          default:
            fail(desc);
        }
    
        if (method.getReturnType() == void.class) {
          assertFalse(desc, isBoolean(method));
        } else {
          assertTrue(desc, isBoolean(method));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    				},
    			},
    		},
    	} {
    		t.Run(desc, func(t *testing.T) {
    			if test.skipOnWindows && goruntime.GOOS == "windows" {
    				// TODO: remove skip once the failing test has been fixed.
    				t.Skip("Skip failing test on Windows.")
    			}
    			actual := toKubeContainerStatus(test.input, cid.Type)
    			assert.Equal(t, test.expected, actual, desc)
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. pkg/controlplane/instance.go

    	coordinationrest "k8s.io/kubernetes/pkg/registry/coordination/rest"
    	corerest "k8s.io/kubernetes/pkg/registry/core/rest"
    	discoveryrest "k8s.io/kubernetes/pkg/registry/discovery/rest"
    	eventsrest "k8s.io/kubernetes/pkg/registry/events/rest"
    	flowcontrolrest "k8s.io/kubernetes/pkg/registry/flowcontrol/rest"
    	networkingrest "k8s.io/kubernetes/pkg/registry/networking/rest"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. pkg/volume/util/util_test.go

    	}
    }
    
    func TestFsUserFrom(t *testing.T) {
    	tests := []struct {
    		desc       string
    		pod        *v1.Pod
    		wantFsUser *int64
    	}{
    		{
    			desc: "no runAsUser specified",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{},
    			},
    			wantFsUser: nil,
    		},
    		{
    			desc: "some have runAsUser specified",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. internal/config/lambda/target/webhook.go

    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	resp, err := target.httpClient.Do(req)
    	if err != nil {
    		if xnet.IsNetworkOrHostDown(err, true) {
    			return false, errNotConnected
    		}
    		return false, err
    	}
    	xhttp.DrainBody(resp.Body)
    	// No network failure i.e response from the target means its up
    	return true, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy

         *
         *     when:
         *     withInstallations(jvm1, jvm2).run(":task")
         * </pre>
         */
        AbstractIntegrationSpec withInstallations(Jvm jvm, Jvm... rest) {
            return withInstallations([jvm] + rest.toList())
        }
    
        AbstractIntegrationSpec withInstallations(List<Jvm> jvms) {
            def installationPaths = jvms.collect { it.javaHome.absolutePath }.join(",")
            executer
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go

    		if resp.StatusCode >= 400 && resp.StatusCode < 500 {
    			err := os.Remove(fname)
    			if err == nil {
    				u.logger.Printf("Removed local/%s", filepath.Base(fname))
    			} else {
    				u.logger.Printf("Error removing local/%s: %v", filepath.Base(fname), err)
    			}
    		}
    		return false
    	}
    	// Store a copy of the uploaded report in the uploaded directory.
    	if err := os.WriteFile(newname, buf, 0644); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server.go

    	}
    
    	handlePprofEndpoint := func(req *restful.Request, resp *restful.Response) {
    		name := strings.TrimPrefix(req.Request.URL.Path, pprofBasePath)
    		switch name {
    		case "profile":
    			pprof.Profile(resp, req.Request)
    		case "symbol":
    			pprof.Symbol(resp, req.Request)
    		case "cmdline":
    			pprof.Cmdline(resp, req.Request)
    		case "trace":
    			pprof.Trace(resp, req.Request)
    		default:
    			pprof.Index(resp, req.Request)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  9. pkg/istio-agent/agent_test.go

    	resp.AgentConfig.ProxyIPAddresses = []string{"127.0.0.1"} // ensures IPv4 binding
    	resp.AgentConfig.Platform = &platform.Unknown{}           // disable discovery
    
    	// Run through opts again to apply settings
    	for _, opt := range opts {
    		resp = opt(resp)
    	}
    	a := NewAgent(resp.ProxyConfig, &resp.AgentConfig, &resp.Security, envoy.ProxyConfig{TestOnly: !resp.envoyEnable})
    	t.Cleanup(a.Close)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		if _, err := io.ReadFull(r, desc); err == io.EOF {
    			return nil, fmt.Errorf("missing desc (want %d bytes)", len(desc))
    		} else if err != nil {
    			return nil, err
    		}
    
    		notes = append(notes, elfNote{Name: name, Desc: desc, Type: typ})
    
    		// Drop padding bytes until the next note or the end of the section,
    		// whichever comes first.
    		for n := padding(len(desc)); n > 0; n-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top