Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for ridx (0.04 sec)

  1. cmd/data-usage-cache.go

    func (h *sizeHistogram) mergeV1(v sizeHistogramV1) {
    	var oidx, nidx int
    	for oidx < len(v) {
    		intOld, intNew := ObjectsHistogramIntervalsV1[oidx], ObjectsHistogramIntervals[nidx]
    		// skip intervals that aren't common to both histograms
    		if intOld.start != intNew.start || intOld.end != intNew.end {
    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                int start = idx;
    
                while (idx < expression.length() && delimiter != expression.charAt(idx)) {
                    idx++;
                }
    
                // delimiter MUST be present
                if (idx <= start || idx >= expression.length()) {
                    return null;
                }
    
                return expression.substring(start, idx++);
            }
    
            public String nextPropertyName() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        private String insertRepositoryKey(String filename, String repositoryKey) {
            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
    - 5.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
                        buffer.append(resourceName, idx + 1, resourceName.length());
                    }
                    buffer.append(" (");
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/xl-storage-format-v2.go

    		}
    	}
    	return -1, nil, errFileVersionNotFound
    }
    
    func (x *xlMetaV2) getIdx(idx int) (ver *xlMetaV2Version, err error) {
    	if idx < 0 || idx >= len(x.versions) {
    		return nil, errFileNotFound
    	}
    	var dst xlMetaV2Version
    	_, err = dst.unmarshalV(x.metaV, x.versions[idx].meta)
    	if false {
    		if err == nil && x.versions[idx].header.VersionID != dst.getVersionID() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top