Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 173 for lidx (0.03 sec)

  1. src/internal/coverage/decodemeta/decode.go

    // 'findex', filling it into the FuncDesc pointed to by 'f'.
    func (d *CoverageMetaDataDecoder) ReadFunc(fidx uint32, f *coverage.FuncDesc) error {
    	if fidx >= d.hdr.NumFuncs {
    		return fmt.Errorf("illegal function index")
    	}
    
    	// Seek to the correct location to read the function offset and read it.
    	funcOffsetLocation := int64(coverage.CovMetaHeaderSize + 4*fidx)
    	if _, err := d.r.Seek(funcOffsetLocation, io.SeekStart); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/internal/obj/x86/pcrelative_test.go

    		asm := fmt.Sprintf(asmData, reg)
    		objout := objdumpOutput(t, "pcrelative", asm)
    		data := bytes.Split(objout, []byte("\n"))
    		for idx := len(data) - 1; idx >= 0; idx-- {
    			// check that RET wasn't overwritten.
    			if bytes.Contains(data[idx], []byte("RET")) {
    				if testing.Short() {
    					break LOOP
    				}
    				continue LOOP
    			}
    		}
    		t.Errorf("VMOVUPS zeros<>(SB), %s overwrote RET", reg)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 23:16:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/timeseries/data.go

    	if len(s) == 0 || math.IsNaN(phi) {
    		return nan
    	}
    	if phi <= 0 {
    		return s.min()
    	}
    	if phi >= 1 {
    		return s.max()
    	}
    	idx := uint(phi*float64(len(s)-1) + 0.5)
    	if idx >= uint(len(s)) {
    		idx = uint(len(s) - 1)
    	}
    	return s[idx]
    }
    
    func (s sorted) quantiles(phis ...float64) []float64 {
    	out := make([]float64, 0, len(phis))
    	for _, phi := range phis {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. pkg/test/framework/components/environment/kube/settings.go

    			Network: s.networkTopology[ci],
    			Meta:    config.Map{"kubeconfig": kc},
    		}
    		if idx, ok := s.controlPlaneTopology[ci]; ok {
    			cfg.PrimaryClusterName = fmt.Sprintf("cluster-%d", idx)
    		}
    		if idx, ok := s.configTopology[ci]; ok {
    			cfg.ConfigClusterName = fmt.Sprintf("cluster-%d", idx)
    		}
    		configs = append(configs, cfg)
    	}
    	return configs, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/Trie.java

                return false;
            }
            int idx = 0;
            Trie cur = this;
            while (idx < seq.length()) {
                char c = seq.charAt(idx);
                boolean found = false;
                for (Trie transition : cur.transitions) {
                    if (transition.c == c) {
                        cur = transition;
                        idx++;
                        found = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    	var wg sync.WaitGroup
    	for idx, pool := range z.serverPools {
    		if z.IsSuspended(idx) {
    			continue
    		}
    		wg.Add(1)
    		go func(idx int, pool *erasureSets) {
    			defer wg.Done()
    			result, err := pool.HealObject(ctx, bucket, object, versionID, opts)
    			result.Object = decodeDirObject(result.Object)
    			errs[idx] = err
    			results[idx] = result
    		}(idx, pool)
    	}
    	wg.Wait()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  8. tests/query_test.go

    	}
    
    	for idx, name := range names {
    		if name != users[idx].Name {
    			t.Errorf("Unexpected result on pluck name, got %+v", names)
    		}
    	}
    
    	for idx, id := range ids {
    		if int(id) != int(users[idx].ID) {
    			t.Errorf("Unexpected result on pluck id, got %+v", ids)
    		}
    	}
    
    	for idx, id := range ids2 {
    		if int(id) != int(users[idx].ID+1) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  9. clause/returning.go

    func (returning Returning) Name() string {
    	return "RETURNING"
    }
    
    // Build build where clause
    func (returning Returning) Build(builder Builder) {
    	if len(returning.Columns) > 0 {
    		for idx, column := range returning.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column)
    		}
    	} else {
    		builder.WriteByte('*')
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 681 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

          "tensorflow/compiler/mlir/tf2xla/api/v2/testdata/");
    }
    
    size_t CountSubstring(absl::string_view str, absl::string_view substr) {
      size_t count = 0;
      size_t idx = str.find(substr);
      while (idx != std::string::npos) {
        count++;
        idx = str.find(substr, idx + 1);
      }
      return count;
    }
    
    class TensorflowDialectToExecutorTest : public ::testing::Test {
     public:
      TensorflowDialectToExecutorTest() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top