Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for capsule (0.21 sec)

  1. tensorflow/cc/experimental/libtf/value.h

        return v;
      }
    
      /// Constructs a TaggedValue with type CAPSULE with a default destructor.
      template <class T>
      static TaggedValue Capsule(T* data) {
        return Capsule(static_cast<void*>(data),
                       [](void* x) { delete static_cast<T*>(x); });
      }
      /// Constructs a TaggedValue with type CAPSULE with a custom destructor.
      static TaggedValue Capsule(void* data, void (*deleter)(void*)) {
        TaggedValue v;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

             */
            File getWorkspace();
    
            /**
             * For work capable of incremental execution this is the object to query per-property changes through;
             * {@link Optional#empty()} for non-incremental-capable work.
             */
            Optional<InputChangesInternal> getInputChanges();
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        ParameterizedType ourType =
            Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class, int[][].class);
    
        new EqualsTester()
            .addEqualityGroup(jvmType, ourType)
            .addEqualityGroup(new TypeCapture<Entry<String, String>>() {}.capture())
            .addEqualityGroup(new TypeCapture<Map<String, Integer>>() {}.capture())
            .testEquals();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypesTest.java

        ParameterizedType ourType =
            Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class, int[][].class);
    
        new EqualsTester()
            .addEqualityGroup(jvmType, ourType)
            .addEqualityGroup(new TypeCapture<Entry<String, String>>() {}.capture())
            .addEqualityGroup(new TypeCapture<Map<String, Integer>>() {}.capture())
            .testEquals();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. internal/s3select/sql/parser.go

    import (
    	"strings"
    
    	"github.com/alecthomas/participle"
    	"github.com/alecthomas/participle/lexer"
    )
    
    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy

            loggingManager.getLevel() == null
        }
    
        public void "can change standard out capture log level"() {
            when:
            loggingManager.captureStandardOutput(LogLevel.ERROR)
    
            then:
            loggingManager.getStandardOutputCaptureLevel() == LogLevel.ERROR
        }
    
        public void "can change standard error capture log level"() {
            when:
            loggingManager.captureStandardError(LogLevel.WARN)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_client_test.go

    	capabilityMethodToTest func(*csiDriverClient) (bool, error),
    	nodeClientGenerator func(bool) *fake.NodeClient) {
    
    	testCases := []struct {
    		name    string
    		capable bool
    	}{
    		{name: "positive", capable: true},
    		{name: "negative", capable: false},
    	}
    
    	for _, tc := range testCases {
    		t.Logf("Running test case: %s", tc.name)
    		fakeCloser := fake.NewCloser(t)
    		client := &csiDriverClient{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. operator/pkg/validate/common.go

    	// is anchored and has capturing groups for name, tag, and digest
    	// components.
    	ReferenceRegexp = anchored(capture(NameRegexp),
    		optional(literal(":"), capture(TagRegexp)),
    		optional(literal("@"), capture(DigestRegexp)))
    
    	// ObjectNameRegexp is a legal name for a k8s object.
    	ObjectNameRegexp = match(`[a-z0-9.-]{1,254}`)
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TaskContainerDslIntegrationTest.kt

                val t6: Task = tasks.create("bazar")
                val t7: Copy = tasks.create("cathedral", Copy::class)
                val t8: Copy = tasks.create<Copy>("cabin")
    
                val t9: Task = tasks.create("castle") {
                    description += "!"
                }
                val t10: Copy = tasks.create("valley", Copy::class) {
                    description += "!"
                    destinationDir = file("out")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/logging.adoc

    ====
    include::sample[dir="snippets/tutorial/logging/kotlin",files="build.gradle.kts[tags=capture-stdout]"]
    include::sample[dir="snippets/tutorial/logging/groovy",files="build.gradle[tags=capture-stdout]"]
    ====
    
    To change the log level for standard out or error during task execution, use a link:{javadocPath}/org/gradle/api/logging/LoggingManager.html[LoggingManager].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 18:32:47 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top