Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for v$1 (0.03 sec)

  1. tensorflow/c/c_api_test.cc

    }
    
    TEST_F(CApiAttributesTest, Bool) {
      auto desc = init("bool");
      TF_SetAttrBool(desc, "v", 1);
    
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", -1, TF_ATTR_BOOL, -1);
    
      unsigned char value;
      TF_OperationGetAttrBool(oper, "v", &value, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/proxier.go

    		mapStaleLoadbalancer[svcInfo.hnsID] = true
    		klog.V(1).ErrorS(err, "Error deleting Hns loadbalancer policy resource.", "hnsID", svcInfo.hnsID, "ClusterIP", svcInfo.ClusterIP())
    	} else {
    		// On successful delete, remove hnsId
    		svcInfo.hnsID = ""
    	}
    
    	if err := hns.deleteLoadBalancer(svcInfo.nodePorthnsID); err != nil {
    		mapStaleLoadbalancer[svcInfo.nodePorthnsID] = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  3. src/sync/atomic/atomic_test.go

    		for {
    			v := LoadInt32(addr)
    			if CompareAndSwapInt32(addr, v, v+1) {
    				break
    			}
    		}
    	}
    }
    
    func hammerCompareAndSwapInt32Method(uaddr *uint32, count int) {
    	addr := (*Int32)(unsafe.Pointer(uaddr))
    	for i := 0; i < count; i++ {
    		for {
    			v := addr.Load()
    			if addr.CompareAndSwap(v, v+1) {
    				break
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  4. src/fmt/fmt_test.go

    	{"%-0vbc", flagPrinter{}, "[%-0v]bc"},
    
    	// composite values with the 'v' verb.
    	{"%v", [1]flagPrinter{}, "[[%v]]"},
    	{"%-v", [1]flagPrinter{}, "[[%-v]]"},
    	{"%+v", [1]flagPrinter{}, "[[%+v]]"},
    	{"%#v", [1]flagPrinter{}, "[1]fmt_test.flagPrinter{[%#v]}"},
    	{"% v", [1]flagPrinter{}, "[[% v]]"},
    	{"%0v", [1]flagPrinter{}, "[[%0v]]"},
    	{"%1.2v", [1]flagPrinter{}, "[[%1.2v]]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	logger := klog.FromContext(ctx)
    	for i := range newZoneRepresentatives {
    		nc.addPodEvictorForNewZone(logger, newZoneRepresentatives[i])
    	}
    	for i := range added {
    		logger.V(1).Info("Controller observed a new Node", "node", klog.KRef("", added[i].Name))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    					[]interface{}{
    						map[string]interface{}{"k": "a", "v": "1"},
    						map[string]interface{}{"k": "b", "v": "2"},
    					},
    					[]interface{}{
    						map[string]interface{}{"k": "b", "v": "2"},
    						map[string]interface{}{"k": "a", "v": "1"},
    					},
    					[]interface{}{
    						map[string]interface{}{"k": "b", "v": "3"},
    						map[string]interface{}{"k": "a", "v": "1"},
    					},
    					[]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// we actually got a successful list. This cycle will repeat as needed.
    	successfulList := false
    	c.watchCache.SetOnReplace(func() {
    		successfulList = true
    		c.ready.set(true)
    		klog.V(1).Infof("cacher (%v): initialized", c.groupResource.String())
    		metrics.WatchCacheInitializations.WithLabelValues(c.groupResource.String()).Inc()
    	})
    	defer func() {
    		if successfulList {
    			c.ready.set(false)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    			t.Logf("Got violations: %q", cond.Message)
    			for _, v := range tst.expectedViolations {
    				if strings.Index(cond.Message, v) == -1 {
    					t.Errorf("expected violation %q, but didn't get it", v)
    				}
    			}
    			for _, v := range tst.unexpectedViolations {
    				if strings.Index(cond.Message, v) != -1 {
    					t.Errorf("unexpected violation %q", v)
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal_test.go

    	{Value: &Plain{NamedType("potato")}, ExpectXML: `<Plain><V>potato</V></Plain>`},
    	{Value: &Plain{[]int{1, 2, 3}}, ExpectXML: `<Plain><V>1</V><V>2</V><V>3</V></Plain>`},
    	{Value: &Plain{[3]int{1, 2, 3}}, ExpectXML: `<Plain><V>1</V><V>2</V><V>3</V></Plain>`},
    	{Value: ifaceptr(true), MarshalOnly: true, ExpectXML: `<bool>true</bool>`},
    
    	// Test time.
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  10. src/html/template/exec_test.go

    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", tVal, true},
    	{"bug16j", "{{1+2i|printf \"%v\"}}", "(1&#43;2i)", tVal, true},
    	{"bug16k", "{{\"aaa\"|printf }}", "aaa", tVal, true},
    	{"bug17a", "{{.NonEmptyInterface.X}}", "x", tVal, true},
    	{"bug17b", "-{{.NonEmptyInterface.Method1 1234}}-", "-1234-", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top