Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 84 for lidx (0.04 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    		ii := int(dwv.InlIndex) - 1
    		idx, ok := imap[ii]
    		if !ok {
    			// We can occasionally encounter a var produced by the
    			// inliner for which there is no remaining prog; add a new
    			// entry to the call list in this scenario.
    			idx = insertInlCall(&inlcalls, ii, imap)
    		}
    		inlcalls.Calls[idx].InlVars =
    			append(inlcalls.Calls[idx].InlVars, dwv)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    						}
    
    						hasParity := 0
    						parityOK := make([]bool, m.shards)
    						for idx, sh := range v {
    							splitData[idx] = sh
    							if idx >= k && len(sh) > 0 {
    								parityOK[idx] = true
    								hasParity++
    								for i := range splitFilled[idx] {
    									splitFilled[idx][i] = 1
    								}
    							}
    						}
    
    						splitDataShards := make([]byte, len(splitFilled[0]))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

      float results[2];
      for (int idx = 0; idx < 2; ++idx) {
        TF_AbstractTensor* result = TF_OutputListGet(func_outputs, idx);
        TFE_TensorHandle* handle = TF_AbstractTensorGetEagerTensor(result, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_Tensor* f_t = TFE_TensorHandleResolve(handle, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        results[idx] = *static_cast<float*>(TF_TensorData(f_t));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    		const (
    			searchBits = 7
    			regionBits = 9
    			regionMask = 1<<regionBits - 1
    		)
    		idx := n >> searchBits
    		buf := fromM49[m49Index[idx]:m49Index[idx+1]]
    		val := uint16(n) << regionBits // we rely on bits shifting out
    		i := sort.Search(len(buf), func(i int) bool {
    			return buf[i] >= val
    		})
    		if r := fromM49[int(m49Index[idx])+i]; r&^regionMask == val {
    			return Region(r & regionMask), nil
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    	if err != nil {
    		return err
    	}
    	return types.False
    }
    
    func (t *unstructuredList) Get(idx ref.Val) ref.Val {
    	iv, isInt := idx.(types.Int)
    	if !isInt {
    		return types.ValOrErr(idx, "unsupported index: %v", idx)
    	}
    	i := int(iv)
    	if i < 0 || i >= len(t.elements) {
    		return types.NewErr("index out of bounds: %v", idx)
    	}
    	return UnstructuredToVal(t.elements[i], t.itemsSchema)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java

            int result;
            int len1 = a.length;
            int len2 = b.length;
            int length = Math.min(len1, len2);
            for (int idx = 0; idx < length; idx++) {
                result = a[idx] - b[idx];
                if (result != 0) {
                    return result;
                }
            }
            return len1 - len2;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 19:25:07 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/apiclient/wait.go

    	portArg := "secure-port"
    	portAPIServer, idx := kubeadmapi.GetArgValue(cfg.APIServer.ExtraArgs, portArg, -1)
    	if idx == -1 {
    		portAPIServer = "6443"
    	}
    	portKCM, idx := kubeadmapi.GetArgValue(cfg.ControllerManager.ExtraArgs, portArg, -1)
    	if idx == -1 {
    		portKCM = "10257"
    	}
    	portScheduler, idx := kubeadmapi.GetArgValue(cfg.Scheduler.ExtraArgs, portArg, -1)
    	if idx == -1 {
    		portScheduler = "10259"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/poset.go

    }
    
    func (bs bitset) Reset() {
    	for i := range bs {
    		bs[i] = 0
    	}
    }
    
    func (bs bitset) Set(idx uint32) {
    	bs[idx/uintSize] |= 1 << (idx % uintSize)
    }
    
    func (bs bitset) Clear(idx uint32) {
    	bs[idx/uintSize] &^= 1 << (idx % uintSize)
    }
    
    func (bs bitset) Test(idx uint32) bool {
    	return bs[idx/uintSize]&(1<<(idx%uintSize)) != 0
    }
    
    type undoType uint8
    
    const (
    	undoInvalid     undoType = iota
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf_test.go

    		// each KJ, the abstract origin of KJ should be a child of A.
    		// Note that this same rule doesn't hold for non-variable DIEs.
    		pidx := ex.IdxFromOffset(die.Offset)
    		if pidx < 0 {
    			t.Fatalf("can't locate DIE id")
    		}
    		kids := ex.Children(pidx)
    		for _, kid := range kids {
    			if kid.Tag != dwarf.TagVariable &&
    				kid.Tag != dwarf.TagFormalParameter {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/staticpod/utils.go

    	if addr, idx := kubeadmapi.GetArgValue(cfg.ControllerManager.ExtraArgs, kubeControllerManagerBindAddressArg, -1); idx > -1 {
    		return getProbeAddress(addr)
    	}
    	return "127.0.0.1"
    }
    
    // GetSchedulerProbeAddress returns the kubernetes scheduler probe address
    func GetSchedulerProbeAddress(cfg *kubeadmapi.ClusterConfiguration) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top