Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 667 for capture2 (0.28 sec)

  1. platforms/documentation/docs/src/snippets/tutorial/logging/groovy/build.gradle

    // end::use-println[]
    
    // tag::capture-stdout[]
    logging.captureStandardOutput LogLevel.INFO
    println 'A message which is logged at INFO level'
    // end::capture-stdout[]
    
    // tag::task-capture-stdout[]
    tasks.register('logInfo') {
        logging.captureStandardOutput LogLevel.INFO
        doFirst {
            println 'A task message which is logged at INFO level'
        }
    }
    // end::task-capture-stdout[]
    
    // tag::use-slf4j[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy

            run("log")
            def captured = file("output.txt").text
    
            then:
            captured.contains("[DEBUG] [org.gradle.api.Task] debug")
            captured.contains("[INFO] [org.gradle.api.Task] info")
            captured.contains("[LIFECYCLE] [org.gradle.api.Task] lifecycle")
            captured.contains("[WARN] [org.gradle.api.Task] warn")
            captured.contains("[ERROR] [org.gradle.api.Task] error")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. cmd/os-instrumented.go

    }
    
    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. 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)
  6. guava/src/com/google/common/reflect/TypeToken.java

       * }</pre>
       */
      protected TypeToken(Class<?> declaringClass) {
        Type captured = super.capture();
        if (captured instanceof Class) {
          this.runtimeType = captured;
        } else {
          this.runtimeType = TypeResolver.covariantly(declaringClass).resolveType(captured);
        }
      }
    
      private TypeToken(Type type) {
        this.runtimeType = checkNotNull(type);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. 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)
  8. tools/istio-iptables/pkg/config/validation_test.go

    		exclude string
    	}{
    		{
    			name:    "capture all groups",
    			include: "*",
    		},
    		{
    			name:    "capture 63 groups",
    			include: NOwnerGroups(63), // just below the limit
    		},
    		{
    			name:    "capture 64 groups",
    			include: NOwnerGroups(64), // limit
    		},
    		{
    			name:    "capture all but 64 groups",
    			exclude: NOwnerGroups(64),
    		},
    		{
    			name:    "capture all but 65 groups",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 11 02:38:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/logging/kotlin/build.gradle.kts

    // end::use-println[]
    
    // tag::capture-stdout[]
    logging.captureStandardOutput(LogLevel.INFO)
    println("A message which is logged at INFO level")
    // end::capture-stdout[]
    
    // tag::task-capture-stdout[]
    tasks.register("logInfo") {
        logging.captureStandardOutput(LogLevel.INFO)
        doFirst {
            println("A task message which is logged at INFO level")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K 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