Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for v$1 (0.04 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. 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)
  5. 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)
  6. src/text/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+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: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers_test.go

    	}
    	drainAllWorkers(podWorkers)
    	if len(processed) != 1 {
    		t.Fatalf("len(processed) expected: %v, actual: %#v", 1, processed)
    	}
    	syncPodRecords := processed[pod.UID]
    	if len(syncPodRecords) != 2 {
    		t.Fatalf("Pod processed expected %v times, got %#v", 1, syncPodRecords)
    	}
    	if syncPodRecords[0].updateType != kubetypes.SyncPodKill {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loader/loader.go

    	}
    	return -1
    }
    
    // SetPlt sets the PLT offset of symbol i.
    func (l *Loader) SetPlt(i Sym, v int32) {
    	if i >= Sym(len(l.objSyms)) || i == 0 {
    		panic("bad symbol for SetPlt")
    	}
    	if v == -1 {
    		delete(l.plt, i)
    	} else {
    		l.plt[i] = v
    	}
    }
    
    // SymGot returns the GOT offset of symbol s.
    func (l *Loader) SymGot(s Sym) int32 {
    	if v, ok := l.got[s]; ok {
    		return v
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  9. tests/query_test.go

    		t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String())
    	}
    }
    
    type Int64 int64
    
    func (v Int64) Value() (driver.Value, error) {
    	return v - 1, nil
    }
    
    func (f *Int64) Scan(v interface{}) error {
    	y := v.(int64)
    	*f = Int64(y + 1)
    	return nil
    }
    
    func TestPluck(t *testing.T) {
    	users := []*User{
    		GetUser("pluck-user1", Config{}),
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  10. src/net/http/httputil/reverseproxy_test.go

    		Director: func(req *http.Request) {
    			req.Header.Set("From-Director", "1")
    		},
    		Transport: roundTripperFunc(func(req *http.Request) (*http.Response, error) {
    			if v := req.Header.Get("From-Director"); v != "1" {
    				t.Errorf("From-Directory value = %q; want 1", v)
    			}
    			return nil, io.EOF
    		}),
    	}
    	rp.ServeHTTP(httptest.NewRecorder(), req)
    
    	for _, h := range []string{
    		"From-Director",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top