- Sort Score
- Num 10 results
- Language All
Results 1101 - 1110 of 1,363 for constants (0.07 seconds)
-
android/guava/src/com/google/common/collect/CompactHashMap.java
* supported. Null keys and values are supported. * * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and * amortized) constant time operations. Expected in the hashtable sense (depends on the hash * function doing a good job of distributing the elements to the buckets to a distribution not farCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
For example, [you can use `with` to read a file](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager". When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
import java.util.List; import java.util.NoSuchElementException; import java.util.Set; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** * A {@link RangeSet} whose contents will never change, with many other important properties * detailed at {@link ImmutableCollection}. * * @author Louis Wasserman * @since 14.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* is merely copied. Only as the power set is iterated are the individual subsets created, and * these subsets themselves occupy only a small constant amount of memory. * * @param set the set of elements to construct a power set from * @return the power set, as an immutable set of immutable sets
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertNotNull(netShareEnum); assertEquals("\\PIPE\\LANMAN", getFieldValue(netShareEnum, "name")); verify(mockConfig).getTransactionBufferSize(); } @Test @DisplayName("Test DESCR constant value") void testDescrConstant() throws Exception { Field descrField = NetShareEnum.class.getDeclaredField("DESCR"); descrField.setAccessible(true); String descr = (String) descrField.get(null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
/** * Enhanced listFiles method that uses directory leasing for caching when available * * @param smbFile the SmbFile directory to list * @return array of SmbFile objects representing the directory contents * @throws SmbException if an error occurs */ public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException { if (!smbFile.isDirectory()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
Например, [можно использовать `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")` создаёт объект, называемый «контекстным менеджером». Когда блок `with` завершается, он обязательно закрывает файл, даже если были исключения.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 19.4K bytes - Click Count (0) -
cmd/apierrorcode_string.go
// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ErrNone-0] _ = x[ErrAccessDenied-1] _ = x[ErrBadDigest-2] _ = x[ErrEntityTooSmall-3] _ = x[ErrEntityTooLarge-4]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 21.6K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
In this example, we are simulating a file with `io.BytesIO`, which is a file-like object that lives only in memory, but lets us use the same interface. For example, we can iterate over it to consume its contents, as we could with a file. {* ../../docs_src/stream_data/tutorial002_py310.py ln[1:27] hl[3,12:13,25] *} /// note | Technical DetailsCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ChangelogEntry.java
import java.io.UncheckedIOException; import java.util.Arrays; import java.util.List; import java.util.Locale; import java.util.Objects; import java.util.stream.Collectors; /** * This class models the contents of a changelog YAML file. We validate it using a * JSON Schema, as well as some programmatic checks in {@link ValidateChangelogEntryTask}. * <ul> * <li><code>buildSrc/src/main/resources/changelog-schema.json</code></li>Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 9.3K bytes - Click Count (0)