- Sort Score
- Num 10 results
- Language All
Results 1331 - 1340 of 1,829 for content2 (0.04 seconds)
-
cmd/bucket-replication-utils.go
// parse size from content-range header func parseSizeFromContentRange(h http.Header) (sz int64, err error) { cr := h.Get(xhttp.ContentRange) if cr == "" { return sz, fmt.Errorf("Content-Range not set") } parts := contentRangeRegexp.FindStringSubmatch(cr) if len(parts) != 4 { return sz, fmt.Errorf("invalid Content-Range header %s", cr) } if parts[3] == "*" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
assertEqualIgnoringOrder(asList(expected), asList(actual)); } private void expectArrayContentsInOrder(List<E> expected, Object[] actual) { assertEquals("toArray() ordered contents: ", expected, asList(actual)); } /** * Returns the {@link Method} instance for {@link #testToArray_isPlainObjectArray()} so that tests * of {@link Arrays#asList(Object[])} can suppress it with {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
} // Happy path: get -> release -> get returns same instance, zeroed on release @Test @DisplayName("Release stores buffer for reuse and zeroes its contents") void releaseStoresAndZeroesBuffer() { BufferCacheImpl impl = new BufferCacheImpl(2, 10); byte[] b = new byte[10]; // Fill with non-zero to verify zeroing on releaseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { b = entries.get(1); c = entries.get(2); } } } /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */ @SuppressWarnings("unchecked") // Needed to stop Eclipse whining private void resetWithHole() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
if (values.size() >= 1) { a = values.get(0); if (values.size() >= 3) { b = values.get(1); c = values.get(2); } } } /** Resets the contents of navigableSet to have elements a, c, for the navigation tests. */ protected void resetWithHole() { super.resetContainer(getSubjectGenerator().create(a, c)); navigableSet = (NavigableSet<E>) getSet(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { b = entries.get(1); c = entries.get(2); } } } /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */ @SuppressWarnings("unchecked") // Needed to stop Eclipse whining private void resetWithHole() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* The returned list may contain a mix of Java class path, Java module path, and other types of path elements. * This collection has the same content as {@code getDependencies.values()} except that it does not contain * null elements. * * @return the paths of all dependencies */ @Nonnull List<Path> getPaths(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/hash/checksum_test.go
} // Deserialize the checksum from bytes chksmOut := ChecksumFromBytes(b) if chksmOut == nil { t.Fatal("ChecksumFromBytes returned nil") } // Assert new checksum matches the content matchError := chksmOut.Matches(myData, 0) if matchError != nil { t.Fatalf("Checksum mismatch on chksmOut: %v", matchError) } // Assert they are exactly equal if !chksmOut.Equal(chksm) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 7.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md
## 情境管理器 { #context-managers } ### 什麼是「情境管理器」 { #what-are-context-managers } 「情境管理器」是那些你可以在 `with` 陳述式中使用的 Python 物件。 例如,[你可以用 `with` 來讀取檔案](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底層,`open("./somefile.txt")` 會建立一個稱為「情境管理器」的物件。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 11.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
return this; } /** * Returns a newly-created {@code ImmutableSortedMultiset} based on the contents of the {@code * Builder}. */ @Override public ImmutableSortedMultiset<E> build() { return copyOfSorted((SortedMultiset<E>) contents); } } @J2ktIncompatible // serialization private static final class SerializedForm<E> implements Serializable {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0)