Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 203 for idx (0.02 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                String result;
                int idx = filename.indexOf('.');
                if (idx < 0) {
                    result = filename + '-' + repositoryKey;
                } else {
                    result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
                }
                return result;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tests/distinct_test.go

    		{Name: "distinct-3", Age: 18},
    	}
    
    	if len(results) != 4 {
    		t.Fatalf("invalid results length found, expects: %v, got %v", len(expects), len(results))
    	}
    
    	for idx, expect := range expects {
    		AssertObjEqual(t, results[idx], expect, "Name", "Age")
    	}
    
    	var count int64
    	if err := DB.Model(&User{}).Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 5 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. helm/minio/templates/_helper_create_svcacct.txt

    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.svcaccts }}
    {{ $global := . }}
    # Create the svcaccts
    {{- range $idx, $svc := .Values.svcaccts }}
    echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP
    {{- if .existingSecret }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 23:20:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

             * @return a flag if the lines should be combined
             */
            private static boolean checkCombineLines(String line) {
                int bsCount = 0;
                for (int idx = line.length() - 1; idx >= 0 && line.charAt(idx) == '\\'; idx--) {
                    bsCount++;
                }
    
                return bsCount % 2 != 0;
            }
    
            /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. cmd/tier-last-day-stats.go

    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    	// within the hour since l.UpdatedAt
    	if since < 1 {
    		return
    	}
    
    	idx, lastIdx := t.Hour(), l.UpdatedAt.Hour()
    
    	l.UpdatedAt = t // update to the latest time index
    
    	if since >= 24 {
    		l.Bins = [24]tierStats{}
    		return
    	}
    
    	for lastIdx != idx {
    		lastIdx = (lastIdx + 1) % 24
    		l.Bins[lastIdx] = tierStats{}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            this.buf = buf;
            this.start = index = start;
            length = 0;
            deferred = this;
        }
    
        public NdrBuffer derive(int idx) {
            NdrBuffer nb = new NdrBuffer(buf, start);
            nb.index = idx;
            nb.deferred = deferred;
            return nb;
        }
    
    
        
        public void reset() {
            this.index = start;
            length = 0;
            deferred = this;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. association.go

    					case reflect.Slice, reflect.Array:
    						validFieldValues := reflect.Zero(rel.Field.IndirectFieldType)
    						for i := 0; i < fieldValue.Len(); i++ {
    							for idx, field := range rel.FieldSchema.PrimaryFields {
    								primaryValues[idx], _ = field.ValueOf(association.DB.Statement.Context, fieldValue.Index(i))
    							}
    
    							if _, ok := relValuesMap[utils.ToStringKey(primaryValues...)]; !ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                return null;
            }
    
            // trim
            String url = u.trim();
    
            int idx = url.indexOf('#');
            if (idx >= 0) {
                url = url.substring(0, idx);
            }
    
            url = url.replace("/./", "/");
    
            idx = url.indexOf(";jsessionid");
            if (idx >= 0) {
                url = url.replaceFirst(";jsessionid=[a-zA-Z0-9\\.]*", "");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

            ).joinToString(separator = " ")
    
        killProcessStep(KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS, os, arch)
    
        (1..10).forEach { idx ->
            steps {
                gradleWrapper {
                    name = "GRADLE_RUNNER_$idx"
                    tasks = "%$testTaskParameterName% -PrerunAllTests --tests %$testNameParameterName% %$testTaskOptionsParameterName%"
                    gradleParams = parameters
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. cmd/erasure.go

    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	permutes := r.Perm(len(buckets))
    	// Add new buckets first
    	for _, idx := range permutes {
    		b := buckets[idx]
    		if e := oldCache.find(b.Name); e == nil {
    			bucketCh <- b
    		}
    	}
    	for _, idx := range permutes {
    		b := buckets[idx]
    		if e := oldCache.find(b.Name); e != nil {
    			cache.replace(b.Name, dataUsageRoot, *e)
    			bucketCh <- b
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top