Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 755 for captures (0.26 sec)

  1. src/regexp/example_test.go

    	option1: value1
    	option2: value2
    
    	# another comment line
    	option3: value3
    `)
    
    	// Regex pattern captures "key: value" pair from the content.
    	pattern := regexp.MustCompile(`(?m)(?P<key>\w+):\s+(?P<value>\w+)$`)
    
    	// Template to convert "key: value" to "key=value" by
    	// referencing the values captured by the regex pattern.
    	template := []byte("$key=$value\n")
    
    	result := []byte{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue54912.dir/a.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that inlining a function literal that captures both a type
    // switch case variable and another local variable works correctly.
    
    package a
    
    func F(p *int, x any) func() {
    	switch x := x.(type) {
    	case int:
    		return func() {
    			*p += x
    		}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 17:26:34 UTC 2022
    - 423 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/types/uid.go

    limitations under the License.
    */
    
    package types
    
    // UID is a type that holds unique ID values, including UUIDs.  Because we
    // don't ONLY use UUIDs, this is an alias to string.  Being a type captures
    // intent and helps make sure that UIDs and names do not get conflated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 825 bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/enterprise/exceptions/ExceptionMetadataHelperTest.groovy

            expect:
            with(ExceptionMetadataHelper.getMetadata(c)) {
                get("isMultiCause") == true.toString()
            }
        }
    
        def "captures location information from TaskExecutionException"() {
            given:
            def path = ":build:the:path"
            def task = Mock(TaskInternal)
            _ * task.getIdentityPath() >> Path.path(path)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/PreviousExecutionState.java

    package org.gradle.internal.execution.history;
    
    import com.google.common.collect.ImmutableSortedMap;
    import org.gradle.internal.fingerprint.FileCollectionFingerprint;
    import org.gradle.internal.hash.HashCode;
    
    /**
     * Captures the state a {@link org.gradle.internal.execution.UnitOfWork} after the previous execution has finished.
     */
    public interface PreviousExecutionState extends ExecutionInputState, ExecutionOutputState {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 09:46:47 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/ExecutionOutputState.java

    package org.gradle.internal.execution.history;
    
    import com.google.common.collect.ImmutableSortedMap;
    import org.gradle.caching.internal.origin.OriginMetadata;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    /**
     * Captures the state of the outputs of a {@link org.gradle.internal.execution.UnitOfWork}.
     */
    public interface ExecutionOutputState {
    
        /**
         * Whether the execution was successful.
         */
        boolean isSuccessful();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics.go

    	// Total number of completed operations
    	ReplicatedCount int64 `json:"replicatedCount"`
    	// Failed captures replication errors in various time windows
    
    	Failed madmin.TimedErrStats `json:"failed,omitempty"`
    
    	XferStats map[RMetricName]XferStats `json:"transferSummary"`
    }
    
    // SRMetricsSummary captures summary of replication counts across buckets on site
    // along with op metrics rollup.
    type SRMetricsSummary struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/BeforeExecutionState.java

    import org.gradle.internal.fingerprint.CurrentFileCollectionFingerprint;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    import java.util.Optional;
    
    /**
     * Captures the state of a {@link org.gradle.internal.execution.UnitOfWork} before execution.
     */
    public interface BeforeExecutionState extends ExecutionInputState {
        /**
         * {@inheritDoc}
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/DependencyInsightOutputNormalizer.groovy

            output.replaceAll("(?x)" +
                "# Captures first half of the table\n" +
                "(\\s+\\|\\s+org\\.gradle\\.jvm\\.version\\s+\\|\\s+\\|\\s+)" +
                "# Decides between a single digit + spacing (e.g. '8 '), or two digits (e.g. 17)\n" +
                "# This is the value being replaced.\n" +
                "(?:\\d\\s|\\d{2})" +
                "# Capture the tail end of the table\n" +
                "(\\s+\\|)",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/module.h

    //      restore it, and attach it to the associated variable object.
    //   4) For each polymorphic function, associate it with the appropriate
    //      concrete function(s).
    //   5) For each function with captures, bind the appropriate objects as
    //      captured inputs.
    //   6) Take the fully-prepared objects, and build them into a hierarchy.
    //   7) Return the prepared model.
    
    // Converts a SavedUserObject into its corresponding data structure.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 02 20:02:30 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top