Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 309 for segs (0.05 sec)

  1. test/chan/select3.go

    		select {
    		case x, ok := (<-closedch):
    			_, _ = x, ok
    		}
    	})
    	testPanic(always, func() {
    		select {
    		case closedch <- 7:
    		}
    	})
    
    	// select should not get confused if it sees itself
    	testBlock(always, func() {
    		c := make(chan int)
    		select {
    		case c <- 1:
    		case <-c:
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 08 02:10:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/glob_lit_test.bzl

    ]
    
    def _run_lit_test(name, data, size, tags, driver, features, exec_properties):
        """Runs lit on all tests it can find in `data` under tensorflow/compiler/mlir.
    
        Note that, due to Bazel's hermetic builds, lit only sees the tests that
        are included in the `data` parameter, regardless of what other tests might
        exist in the directory searched.
    
        Args:
          name: str, the name of the test, including extension.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 19:29:19 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/JavaModuleCompileIntegrationTest.groovy

                package auto;
    
                public class AutoClass {
                    public void m() {
                        // can access, because a auto module sees the unnamed module
                        new moda.ModaClass();
                        new moda.internal.ModaClassInternal();
                    }
                }
            """
    
            // Local module
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/watch_test.go

    	server := httptest.NewServer(handler)
    	defer server.Close()
    
    	dest, _ := url.Parse(server.URL)
    	dest.Scheme = "ws" // Required by websocket, though the server never sees it.
    	dest.Path = "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/watch/simples"
    	dest.RawQuery = ""
    
    	ws, err := websocket.Dial(dest.String(), "", "http://localhost")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 17:27:39 UTC 2023
    - 30K bytes
    - Viewed (0)
  5. src/log/slog/handler_test.go

    			replace: func(_ []string, a Attr) Attr {
    				if a.Key == TimeKey {
    					return Group(TimeKey, "mins", 3, "secs", 2)
    				}
    				if a.Key == LevelKey {
    					return Attr{}
    				}
    				return a
    			},
    			wantText: `time.mins=3 time.secs=2 msg=message`,
    			wantJSON: `{"time":{"mins":3,"secs":2},"msg":"message"}`,
    		},
    		{
    			name:     "replace empty",
    			replace:  func([]string, Attr) Attr { return Attr{} },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

                                                                 TF_DeleteGraph);
    
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph.get(), opts, s);
      TF_DeleteSessionOptions(opts);
    
      const string gpu_device_name = GPUDeviceName(sess);
      TF_DeleteSession(sess, s);
      CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      return gpu_device_name;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/v1alpha1/defaults.go

    	}
    	if obj.Conntrack.TCPCloseWaitTimeout == nil {
    		// See https://github.com/kubernetes/kubernetes/issues/32551.
    		//
    		// CLOSE_WAIT conntrack state occurs when the Linux kernel
    		// sees a FIN from the remote server. Note: this is a half-close
    		// condition that persists as long as the local side keeps the
    		// socket open. The condition is rare as it is typical in most
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. pkg/kubelet/token/token_manager_test.go

    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			clock := testingclock.NewFakeClock(c.now)
    			secs := int64(c.exp.Sub(start).Seconds())
    			tr := &authenticationv1.TokenRequest{
    				Spec: authenticationv1.TokenRequestSpec{
    					ExpirationSeconds: &secs,
    				},
    				Status: authenticationv1.TokenRequestStatus{
    					ExpirationTimestamp: metav1.Time{Time: c.exp},
    				},
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 04 00:16:47 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  9. internal/jwt/parser.go

    	return &StandardClaims{}
    }
    
    // SetIssuer sets issuer for these claims
    func (c *StandardClaims) SetIssuer(issuer string) {
    	c.Issuer = issuer
    }
    
    // SetAudience sets audience for these claims
    func (c *StandardClaims) SetAudience(aud string) {
    	c.Audience = aud
    }
    
    // SetExpiry sets expiry in unix epoch secs
    func (c *StandardClaims) SetExpiry(t time.Time) {
    	c.ExpiresAt = t.Unix()
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    2019-10-03T09:33:08.990+0200 [DEBUG] [org.gradle.execution.plan.DefaultPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 0.0 secs, idle: 0.021 secs
    \u001B[0K
    \u001B[0K
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top