Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 458 for eidx (2.26 sec)

  1. src/runtime/map_benchmark_test.go

    		chunks[i][0] = byte(i)
    	}
    	// put into a map
    	m := make(map[chunk]int, size)
    	for i, c := range chunks {
    		m[c] = i
    	}
    	idx := 0
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		if m[chunks[idx]] != idx {
    			b.Error("bad map entry for chunk")
    		}
    		idx++
    		if idx == size {
    			idx = 0
    		}
    	}
    }
    
    func BenchmarkHashInt32Speed(b *testing.B) {
    	ints := make([]int32, size)
    	for i := 0; i < size; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
                    if (idx < 0) {
                        break;
                    } else if (idx == 0) {
                        result = result.substring(3);
                        continue;
                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PluginDslSupport.groovy

            def text = buildFile.text
            int idx = text.indexOf('allprojects')
            text = """${text.substring(0, idx)}
                plugins {
                    $block
                }
    
    ${text.substring(idx)}
            """
            buildFile.text = text
        }
    
        void withPlugins(Map<String, String> plugins, Map<String, String> aliases = [:]) {
            def text = buildFile.text
            int idx = text.indexOf('allprojects')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/tests/end2end.mlir

    tfr.func @tf__risc_concat_(!tfr.tensor<T>, !tfr.tensor<T>, i32{tfr.name="axis"}) -> !tfr.tensor<T> attributes{T}
    tfr.func @tf__risc_broadcast_(!tfr.tensor<T>, !tfr.tensor<Tidx>) -> !tfr.tensor<T> attributes{T, Tidx}
    tfr.func @tf__risc_reciprocal_(!tfr.tensor<T>) -> !tfr.tensor<T> attributes{T}
    tfr.func @tf__risc_sqrt_(!tfr.tensor<T>) -> !tfr.tensor<T> attributes{T}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    	if len(dir) == 0 {
    		// Root
    		idx := strings.Index(e.name, separator)
    		return idx == -1 || idx == len(e.name)-len(separator)
    	}
    	ext := strings.TrimPrefix(e.name, dir)
    	if len(ext) != len(e.name) {
    		idx := strings.Index(ext, separator)
    		// If separator is not found or is last entry, ok.
    		return idx == -1 || idx == len(ext)-len(separator)
    	}
    	return false
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. cmd/peer-s3-client.go

    	for idx, client := range sys.peerClients {
    		idx := idx
    		client := client
    		g.Go(func() error {
    			if client == nil {
    				return errPeerOffline
    			}
    			res, err := client.HealBucket(ctx, bucket, opts)
    			if err != nil {
    				return err
    			}
    			healBucketResults[idx] = res
    			return nil
    		}, idx)
    	}
    
    	errs = g.Wait()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. clause/expression.go

    	var (
    		afterParenthesis bool
    		idx              int
    	)
    
    	for _, v := range []byte(expr.SQL) {
    		if v == '?' && len(expr.Vars) > idx {
    			if afterParenthesis || expr.WithoutParentheses {
    				if _, ok := expr.Vars[idx].(driver.Valuer); ok {
    					builder.AddVar(builder, expr.Vars[idx])
    				} else {
    					switch rv := reflect.ValueOf(expr.Vars[idx]); rv.Kind() {
    					case reflect.Slice, reflect.Array:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. pkg/controller/nodeipam/ipam/range_allocator.go

    		// then we have now way of locking it
    		if idx >= len(r.cidrSets) {
    			return fmt.Errorf("node:%s has an allocated cidr: %v at index:%v that does not exist in cluster cidrs configuration", node.Name, cidr, idx)
    		}
    
    		if err := r.cidrSets[idx].Occupy(podCIDR); err != nil {
    			return fmt.Errorf("failed to mark cidr[%v] at idx [%v] as occupied for node: %v: %v", podCIDR, idx, node.Name, err)
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                String[] tok = part1.split("\\.");
                int idx = 0;
                if (idx < tok.length) {
                    majorVersion = getNextIntegerToken(tok[idx++]);
                    if (majorVersion == null) {
                        fallback = true;
                    }
                } else {
                    fallback = true;
                }
                if (idx < tok.length) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:50:51 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy

            testIndices(testCount).each { idx ->
                file("src/$sourceSet/java/pkg/SomeTest_${idx}.java") << """
                    package pkg;
                    import org.junit.Test;
                    public class SomeTest_$idx {
                        @Test
                        public void test_$idx() {
                            ${blockingServer.callFromBuild("${sourceSet}_$idx")}
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top