Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for capture2 (0.15 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. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

    // This resource should be replaced by 'value'.
    // Output params:
    // - work_list: Is updated with new regions to process that is called
    //   by 'user_op';
    // - arguments_to_erase: Captures updates to the graph - which arguments
    //   to remove from the op;
    void PropagateUsage(
        Operation* user_op, int argument_index, ElementsAttr value,
        llvm::SmallVector<std::pair<Region*, int>, 4>* work_list,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginSyntheticIntegrationTest.kt

                assertNotOutput("STDERR from plugins block")
                // TODO logging is not captured yet
                assertOutputContains("LIFECYCLE")
                assertOutputContains("WARN")
                assertHasErrorOutput("ERROR")
            }
        }
    
        @Test
        @Issue("https://github.com/gradle/gradle/issues/12955")
        fun `captures output of schema collection but not of concurrent tasks`() {
    
            val repeatOutput = 50
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitCategoriesOrTagsCoverageIntegrationSpec.groovy

        }
    
        /**
         * Fixture for capturing simple test class requirements.  Note that this class should be used only for simple test classes
         * and should not be enhanced to capture complex test classes with arbitrary features.  Complex test classes should be captured
         * with a raw {@link TestSource} fixture.
         */
        class TestClass {
            final String name
            final String packageName
            final String sourceSet
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 14:54:49 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  5. src/runtime/tracestack.go

    	// value at pcBuf[0] represents a skip value to apply to the physical stack in
    	// pcBuf[1:] after inline expansion.
    	logicalStackSentinel = ^uintptr(0)
    )
    
    // traceStack captures a stack trace from a goroutine and registers it in the trace
    // stack table. It then returns its unique ID. If gp == nil, then traceStack will
    // attempt to use the current execution context.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java

         *
         * @param type the {@literal Class}
         * @param <T> the parameterized type of the given {@literal Class}
         * @return the {@literal TypeOf} that captures the generic type of the given {@literal Class}
         */
        public static <T> TypeOf<T> typeOf(Class<T> type) {
            return new TypeOf<T>(
                ModelType.of(typeWhichCannotBeNull(type))) {
            };
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        [SingleBlockImplicitTerminator<"ReturnOp">]> {
      let summary = [{
    The `tf_device.launch` op launches containing operations on target device.
      }];
    
      let description = [{
    This op captures all needed live-in values.
      }];
    
      let arguments = (ins
        StrAttr:$device
      );
    
      let results = (outs
        Variadic<AnyType>:$results
      );
    
      let regions = (region SizedRegion<1>:$body);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

                    }
    
                    dependencies {
                        implementation 'com.test:test:4.2'
                    }
                }
            """
        }
    
        def "transform executions are captured"() {
            settingsFile << """
                include 'producer', 'consumer'
            """
    
            setupBuildWithColorTransformImplementation()
            setupExternalDependency()
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. tests/integration/ambient/waypoint_test.go

          port: {{.Port}}
          `
    
    			t.ConfigKube().
    				New().
    				Eval(
    					apps.Namespace.Name(),
    					map[string]any{
    						"Service":   Captured,
    						"Namespace": apps.Namespace.Name(),
    						"Port":      apps.Captured.PortForName("http").ServicePort,
    					},
    					config).
    				ApplyOrFail(t, apply.CleanupConditionally)
    
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    						reportCaptured(pass, vars, stmt)
    					}
    
    				}
    			}
    		}
    		return true
    	})
    	return nil, nil
    }
    
    // reportCaptured reports a diagnostic stating a loop variable
    // has been captured by a func literal if checkStmt has escaping
    // references to vars. vars is expected to be variables updated by a loop statement,
    // and checkStmt is expected to be a statements from the body of a func literal in the loop.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top