- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 103 for brackets (0.05 sec)
-
docs/en/docs/python-types.md
As the type, put the `List` that you imported from `typing`. As the list is a type that contains some internal types, you put them in square brackets: ```Python hl_lines="4" {!> ../../docs_src/python_types/tutorial006.py!} ``` //// /// info Those internal types in the square brackets are called "type parameters". In this case, `str` is the type parameter passed to `List` (or `list` in Python 3.9 and above).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
String actualString = response.toString(); assertTrue(actualString.startsWith("Trans2SetFileInformationResponse["), "The string representation should start with the class name."); assertTrue(actualString.endsWith("]"), "The string representation should end with a bracket."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
* If you are in a Python version lower than 3.9, import their equivalent version from the `typing` module * Pass the internal type(s) as "type parameters" using square brackets: `[` and `]` In Python 3.9 it would be: ```Python my_list: list[str] ``` In versions of Python before 3.9, it would be: ```Python from typing import List my_list: List[str] ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
templateStart = placeholderStart + 2; } builder.append(template, templateStart, template.length()); // if we run out of placeholders, append the extra args in square brackets if (i < args.length) { String prefix = " ["; for (; i < args.length; i++) { builder.append(prefix); builder.append(lenientToString(args[i])); prefix = ", "; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
if (ch == '[') { String server = str.substring(mark, si).trim(); if (server.length() == 0) { // this can also be a v6 address within brackets, look ahead required final int nexts = str.indexOf('[', si + 1); final int nexte = str.indexOf(']', si); if (nexts >= 0 && nexte >= 0 && nexte == nexts - 1) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 25 11:08:20 UTC 2025 - 25.4K bytes - Viewed (0) -
.github/workflows/update-perf-test-buckets.yml
on: schedule: - cron: '53 3 * * 1' workflow_dispatch: permissions: contents: write id-token: write pull-requests: write jobs: update-perf-test-buckets: runs-on: ubuntu-latest if: github.repository == 'gradle/gradle' steps: - name: Checkout repository uses: actions/checkout@v5 - name: configure aws credentials
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Sep 04 04:26:32 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
return sys.initialized } // Loads bucket metadata for all buckets into BucketMetadataSys. func (sys *BucketMetadataSys) init(ctx context.Context, buckets []string) { count := globalEndpoints.ESCount() * 10 for { if len(buckets) < count { sys.concurrentLoad(ctx, buckets) break } sys.concurrentLoad(ctx, buckets[:count]) buckets = buckets[count:] } sys.Lock() sys.initialized = true
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.4K bytes - Viewed (0) -
cmd/erasure.go
Cache: make(map[string]dataUsageEntry, len(oldCache.Cache)), } // Put all buckets into channel. bucketCh := make(chan BucketInfo, len(buckets)) // Shuffle buckets to ensure total randomness of buckets, being scanned. // Otherwise same set of buckets get scanned across erasure sets always. // at any given point in time. This allows different buckets to be scanned // in different order per erasure set, this wider spread is needed when
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
*/ public static int consistentHash(HashCode hashCode, int buckets) { return consistentHash(hashCode.padToLong(), buckets); } /** * Assigns to {@code input} a "bucket" in the range {@code [0, buckets)}, in a uniform manner that * minimizes the need for remapping as {@code buckets} grows. That is, {@code consistentHash(h, * n)} equals: * * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0)