- Sort Score
- Result 10 results
- Languages All
Results 1351 - 1360 of 1,811 for arrays (0.07 sec)
-
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
int total = 0; while (in.read() != -1) { total++; } assertEquals(0, in.available()); assertEquals(20, total); } @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0 public void testSkip() throws Exception { MultiInputStream multi = new MultiInputStream( Collections.singleton( new ByteSource() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
/** The operator to read and write the shared file. Null if this source is closed. */ private var fileOperator: FileOperator? = FileOperator(file!!.channel) /** The next byte to read. This is always less than or equal to [upstreamPos]. */ private var sourcePos = 0L /** * Selects where to find the bytes for a read and read them. This is one of three sources. * * ## Upstream *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.8K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto
// floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, // but will be re-emitted in their canonical form. (So always use canonical // form, or don't diff.) // // This format is intended to make it difficult to use these numbers without // writing some sort of special handling code in the hopes that that will
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
<img src="/img/tutorial/path-operation-configuration/image01.png"> ### Tags with Enums If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*. In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings: ```Python hl_lines="1 8-10 13 18"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
} else { schedulingPolicy = daily { hour = 0 minute = 30 } } triggerBuild = always() withPendingChangesOnly = true param("revisionRule", "lastFinished") branchFilter = model.branch.determineBranchFilter() enabled = enableTriggers }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 06 08:08:13 UTC 2024 - 5.8K bytes - Viewed (0) -
src/archive/tar/writer.go
} } // Round ModTime and ignore AccessTime and ChangeTime unless // the format is explicitly chosen. // This ensures nominal usage of WriteHeader (without specifying the format) // does not always result in the PAX format being chosen, which // causes a 1KiB increase to every header. if tw.hdr.Format == FormatUnknown { tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second) tw.hdr.AccessTime = time.Time{}
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
} } /** Returns a serializable converter that always converts or reverses an object to itself. */ @SuppressWarnings("unchecked") // implementation is "fully variant" public static <T> Converter<T, T> identity() { return (IdentityConverter<T>) IdentityConverter.INSTANCE; } /** * A converter that always converts or reverses an object to itself. Note that T is now a * "pass-through type".
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Type.java
*/ boolean isIncludesDependencies(); /** * Types of path (class-path, module-path, …) where the dependency can be placed. * For most deterministic builds, the array length should be 1. In such case, * the dependency will be unconditionally placed on the specified type of path * and no heuristic rule will be involved. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/en/docs/js/termynal.js
/** * Converts line data objects into line elements. * * @param {Object[]} lineData - Dynamically loaded lines. * @param {Object} line - Line data object. * @returns {Element[]} - Array of line elements. */ lineDataToElements(lineData) { return lineData.map(line => { let div = document.createElement('div');
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 9.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/NetworkMutationTest.java
network.addNode(gen.nextInt(NODE_POOL_SIZE)); } ArrayList<Integer> nodeList = new ArrayList<>(network.nodes()); for (int i = 0; i < NUM_EDGES; ++i) { // Parallel edges are allowed, so this should always succeed. assertThat( network.addEdge( getRandomElement(nodeList, gen), getRandomElement(nodeList, gen), new Object())) .isTrue(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 10 19:42:18 UTC 2024 - 4.5K bytes - Viewed (0)