Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for CNT (0.02 sec)

  1. src/runtime/os_dragonfly.go

    		return
    	}
    
    	print("umtx_sleep addr=", addr, " val=", val, " ret=", ret, "\n")
    	*(*int32)(unsafe.Pointer(uintptr(0x1005))) = 0x1005
    }
    
    //go:nosplit
    func futexwakeup(addr *uint32, cnt uint32) {
    	ret := sys_umtx_wakeup(addr, int32(cnt))
    	if ret >= 0 {
    		return
    	}
    
    	systemstack(func() {
    		print("umtx_wake_addr=", addr, " ret=", ret, "\n")
    		*(*int32)(unsafe.Pointer(uintptr(0x1006))) = 0x1006
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. src/runtime/map_test.go

    	m[nan] = 2
    	m[nan] += 4
    
    	cnt := 0
    	s := 0
    	growflag := true
    	for k, v := range m {
    		if growflag {
    			// force a hashtable resize
    			for i := 0; i < 50; i++ {
    				m[float64(i)] = i
    			}
    			for i := 50; i < 100; i++ {
    				m[float64(i)] += i
    			}
    			growflag = false
    		}
    		if k != k {
    			cnt++
    			s |= v
    		}
    	}
    	if cnt != 3 {
    		t.Error("NaN keys lost during grow")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/runtime/os_freebsd.go

    		return
    	}
    	print("umtx_wait addr=", addr, " val=", val, " ret=", ret, "\n")
    	*(*int32)(unsafe.Pointer(uintptr(0x1005))) = 0x1005
    }
    
    //go:nosplit
    func futexwakeup(addr *uint32, cnt uint32) {
    	ret := sys_umtx_op(addr, _UMTX_OP_WAKE_PRIVATE, cnt, 0, nil)
    	if ret >= 0 {
    		return
    	}
    
    	systemstack(func() {
    		print("umtx_wake_addr=", addr, " ret=", ret, "\n")
    	})
    }
    
    func thr_start()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. pilot/pkg/xds/discovery.go

    func reasonsUpdated(req *model.PushRequest) string {
    	var (
    		reason0, reason1            model.TriggerReason
    		reason0Cnt, reason1Cnt, idx int
    	)
    	for r, cnt := range req.Reason {
    		if idx == 0 {
    			reason0, reason0Cnt = r, cnt
    		} else if idx == 1 {
    			reason1, reason1Cnt = r, cnt
    		} else {
    			break
    		}
    		idx++
    	}
    
    	switch len(req.Reason) {
    	case 0:
    		return "unknown"
    	case 1:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

        // down as arguments to avoid relying on shared variables.
        const std::string name = GetConstOpName(const_op);
        const int cnt = name_counts[name]++;
    
        // Creates a unique name by appending its occurrence count.
        const auto shared_name = absl::StrCat(name, "_", cnt);
        const_op_name_map[const_op] = shared_name;
    
        // Creates a VarHandleOp -> ReadVariableOp pair for each ConstOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    	if err != nil {
    		Close(fd2)
    		return 0, err
    	}
    	defer closedir(d)
    
    	var cnt int64
    	for {
    		var entry Dirent
    		var entryp *Dirent
    		e := readdir_r(d, &entry, &entryp)
    		if e != 0 {
    			return n, errnoErr(e)
    		}
    		if entryp == nil {
    			break
    		}
    		if skip > 0 {
    			skip--
    			cnt++
    			continue
    		}
    
    		reclen := int(entry.Reclen)
    		if reclen > len(buf) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/gradients_test.cc

      EXPECT_EQ(grad_result[0].NumElements(), 1);
      EXPECT_EQ(grad_result[0].flat<float>()(0), 17610.0f);
    }
    
    TEST_F(GradientsTest, AddSymbolicGradientsTest) {
      Scope scope = Scope::NewRootScope();
      for (int cnt = 0; cnt < 100; ++cnt) {
        int N = 5 + rand() % 10;
        // Construct forward graph.
        OutputList inputs;
        for (int i = 0; i < N; ++i) {
          auto a = Const(scope, i, {1});
          inputs.push_back(a);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
  8. src/crypto/sha512/sha512block_ppc64x.s

    //
    // H0 = a + H0
    // H1 = b + H1
    // H2 = c + H2
    // H3 = d + H3
    // H4 = e + H4
    // H5 = f + H5
    // H6 = g + H6
    // H7 = h + H7
    
    #define CTX	R3
    #define INP	R4
    #define END	R5
    #define TBL	R6
    #define CNT	R8
    #define LEN	R9
    #define TEMP	R12
    
    #define TBL_STRT R7 // Pointer to start of kcon table.
    
    #define R_x000	R0
    #define R_x010	R10
    #define R_x020	R25
    #define R_x030	R26
    #define R_x040	R14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/runtime/os_linux.go

    	ts.setNsec(ns)
    	futex(unsafe.Pointer(addr), _FUTEX_WAIT_PRIVATE, val, unsafe.Pointer(&ts), nil, 0)
    }
    
    // If any procs are sleeping on addr, wake up at most cnt.
    //
    //go:nosplit
    func futexwakeup(addr *uint32, cnt uint32) {
    	ret := futex(unsafe.Pointer(addr), _FUTEX_WAKE_PRIVATE, cnt, nil, nil, 0)
    	if ret >= 0 {
    		return
    	}
    
    	// I don't know that futex wakeup can return
    	// EAGAIN or EINTR, but if it does, it would be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/internal/zstd/block.go

    		}
    
    		if match > 0 {
    			if err := r.copyFromWindow(&rbr, offset, match); err != nil {
    				return err
    			}
    		}
    	}
    
    	r.buffer = append(r.buffer, litbuf...)
    
    	if rbr.cnt != 0 {
    		return r.makeError(off, "extraneous data after sequences")
    	}
    
    	return nil
    }
    
    // Copy match bytes from the decoded output, or the window, at offset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top