- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,653 for length (0.09 sec)
-
cmd/generic-handlers.go
// is larger than 2 KB. func isHTTPHeaderSizeTooLarge(header http.Header) bool { var size, usersize int for key := range header { length := len(key) + len(header.Get(key)) size += length for _, prefix := range userMetadataKeyPrefixes { if stringsHasPrefixFold(key, prefix) { usersize += length break } } if usersize > maxUserDataSize || size > maxHeaderSize { return true } } return false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java
if ("cache".equalsIgnoreCase(value)) { return true; } } // backward compatibility if (values.length == 1 && Constants.TRUE.equalsIgnoreCase(values[0])) { return true; } return false; } public boolean isOverwrite() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/buildid/buildid.go
log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file) } newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash) if len(newID) != len(id) { log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID) } if len(matches) == 0 { return } f, err = os.OpenFile(file, os.O_RDWR, 0) if err != nil { log.Fatal(err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
default SuggestItem[] mergeItems(final SuggestItem[] items) { final Set<String> mergedIdSet = new HashSet<>(); final List<SuggestItem> mergedList = new ArrayList<>(items.length); for (final SuggestItem item1 : items) { final String item1Id = item1.getId(); if (mergedIdSet.contains(item1Id)) { continue; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
final char decimalSep = symbols.getDecimalSeparator(); final char groupingSep = symbols.getGroupingSeparator(); final StringBuilder buf = new StringBuilder(20); for (int i = 0; i < s.length(); ++i) { char c = s.charAt(i); if (c == groupingSep) { continue; } else if (c == decimalSep) { c = '.'; } buf.append(c);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
results.add(result); Artifact artifact = request.getArtifact(); if ("maven-test".equals(artifact.getGroupId())) { String scope = artifact.getArtifactId().substring("scope-".length()); try { artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource( ProjectClasspathTestType.dir + "transitive-" + scope + "-dep.xml"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/ringbuffer/README.md
# Usage ```go package main import ( "fmt" "github.com/smallnest/ringbuffer" ) func main() { rb := ringbuffer.New(1024) // write rb.Write([]byte("abcd")) fmt.Println(rb.Length()) fmt.Println(rb.Free()) // read buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ``` It is possible to use an existing buffer with by replacing `New` with `NewBuffer`.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
} private static final Comparator<String> DEGENERATE_COMPARATOR = new Comparator<String>() { @Override public int compare(String o1, String o2) { return o1.length() - o2.length(); } }; /** Test a TreeMultiset with a comparator that can return 0 when comparing unequal values. */ public void testDegenerateComparator() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 19.8K bytes - Viewed (0) -
cmd/naughty-disk_test.go
} func (d *naughtyDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) { if err := d.calcError(); err != nil { return nil, err } return d.disk.ReadFileStream(ctx, volume, path, offset, length) } func (d *naughtyDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 10.1K bytes - Viewed (0)