Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 707 for capture2 (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

      RevivedObjects revived_objects;
      TF_RETURN_IF_ERROR(partially_revived_objects.Build(
          context, bundle.saved_object_graph(), &revived_objects));
    
      // Revive function library functions as concrete functions without captures.
      // This is necessary because object graph functions may refer to functions
      // _not_ in the object graph: A while loop, for example, will create two
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. tests/integration/ambient/cnirepair/main_test.go

    	// its doing something unique to that specific test.
    	apps = &EchoDeployments{}
    )
    
    type EchoDeployments struct {
    	// Namespace echo apps will be deployed
    	Namespace namespace.Instance
    	// Captured echo service
    	Captured echo.Instances
    	// Uncaptured echo Service
    	Uncaptured echo.Instances
    	// Sidecar echo services with sidecar
    	Sidecar echo.Instances
    
    	// All echo services
    	All echo.Instances
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestProgressLoggingIntegrationTest.groovy

                ${mavenCentralRepository()}
                dependencies {
                    ${testFrameworkDependencies}
                }
                test.${configureTestFramework}
            """
        }
    
        def "captures test progress logging events" () {
            withGoodTestClasses(10)
    
            when:
            succeeds("test")
    
            then:
            events.statusLogged("0 tests completed")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. android/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)
  10. test/closure2.go

    				panic("w != 1")
    			}
    		}
    		func() {
    			tmp = w // force capture of w, but do not write to it yet
    			_ = tmp
    			func() {
    				func() {
    					w++ // write in a nested closure
    				}()
    			}()
    		}()
    		f()
    	}
    
    	{
    		var g func() int
    		var i int
    		for i = range [2]int{} {
    			if i == 0 {
    				g = func() int {
    					return i // test that we capture by ref here, i is mutated on every interaction
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 06 18:34:24 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top