- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 130 for iterate (0.04 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java
} public void setValueOnModel(String expression, Object value) { context.setValue(expression, value); } public Iterator<?> getIteratorForXPathExpression(String expression) { return context.iterate(expression); } public boolean containsXPathExpression(String expression) { return context.getValue(expression) != null; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 2.8K bytes - Click Count (0) -
buildscripts/checkdeps.sh
## ## readlink() { ## return /bin/readlink -f "$1" ## } ## readlink() { TARGET_FILE=$1 cd $(dirname $TARGET_FILE) TARGET_FILE=$(basename $TARGET_FILE) # Iterate down a (possible) chain of symlinks while [ -L "$TARGET_FILE" ]; do TARGET_FILE=$(env readlink $TARGET_FILE) cd $(dirname $TARGET_FILE) TARGET_FILE=$(basename $TARGET_FILE) done
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jun 08 16:12:05 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response. 3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function (`iterfile`). So, it is a generator function that transfers the "generating" work to something else internally.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
internal/jwt/parser_test.go
claims.Subject = "test" j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) tk, _ := j.SignedString([]byte("HelloSecret")) return tk } func TestParserParse(t *testing.T) { // Iterate over test data set and run tests for _, data := range jwtTestData { t.Run(data.name, func(t *testing.T) { // Parse the token var err error // Figure out correct claims type
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
cmd/object-handlers_test.go
contentLength int64 textData []byte metaData map[string]string }{ {bucketName, objectName, int64(len(bytesData[0].byteData)), bytesData[0].byteData, make(map[string]string)}, } // iterate through the above set of inputs and upload the object. for i, input := range putObjectInputs { // uploading the object.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
} } // Conflict Resolution ResolutionNode resolved = null; for (Iterator<ConflictResolver> j = conflictResolvers.iterator(); resolved == null && j.hasNext(); ) { ConflictResolver conflictResolver = j.next();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 36.5K bytes - Click Count (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
### Using the *path operation function* name as the operationId { #using-the-path-operation-function-name-as-the-operationid } If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`. You should do it after adding all your *path operations*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.2K bytes - Click Count (0) -
internal/logger/logger.go
sendLog(ctx, entry) } func sendLog(ctx context.Context, entry log.Entry) { systemTgts := SystemTargets() if len(systemTgts) == 0 { return } // Iterate over all logger targets to send the log entry for _, t := range systemTgts { if err := t.Send(ctx, entry); err != nil { if consoleTgt != nil { // Sending to the console never fails
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.4K bytes - Click Count (0) -
cmd/postpolicyform.go
for key, values := range formValues { if keyInPolicyExceptions[key] || strings.HasPrefix(key, "X-Ignore-") { continue } mustFindInPolicy[key] = values } // Iterate over policy conditions and check them against received form fields for _, policy := range postPolicyForm.Conditions.Policies { // Form fields names are in canonical format, convert conditions namesCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
#### A Random Item { #a-random-item } With `data.items()` we get an <abbr title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</abbr> with tuples containing the key and value for each dictionary item. We convert this iterable object into a proper `list` with `list(data.items())`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0)