Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,798 for getname (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h

    namespace ResourceEffects {
    
    struct Variable : ::mlir::SideEffects::Resource::Base<Variable> {
      StringRef getName() final { return "Variable"; }
    };
    
    struct Stack : ::mlir::SideEffects::Resource::Base<Stack> {
      StringRef getName() final { return "Stack"; }
    };
    
    struct TensorArray : ::mlir::SideEffects::Resource::Base<TensorArray> {
      StringRef getName() final { return "TensorArray"; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 26 18:45:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread3, 1);
        assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelDslCreationIntegrationTest.groovy

        def "can create and initialize elements"() {
            when:
            buildScript '''
                @Managed
                interface Thing {
                    String getName()
                    void setName(String name)
                }
    
                model {
                    thing1(Thing) {
                        name = "foo"
                    }
                    tasks {
                        create("echo") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. testing/architecture-test/src/test/java/org/gradle/architecture/test/ConfigurationCreationTest.java

                        .orShould().callMethod("org.gradle.api.artifacts.ConfigurationContainer", "register", String.class.getName())
                        .orShould().callMethod("org.gradle.api.artifacts.ConfigurationContainer", "register", String.class.getName(), Action.class.getName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread3, 1);
        assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc

        for (NamedAttribute a : attrs) {
          if (a.getName().strref().starts_with("tf_saved_model.")) {
            f.removeArgAttr(i, a.getName());
          }
        }
      }
      for (int i = 0; i < f.getNumResults(); ++i) {
        for (NamedAttribute a : f.getResultAttrs(i)) {
          if (a.getName().strref().starts_with("tf_saved_model.")) {
            f.removeResultAttr(i, a.getName());
          }
        }
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelMutationIntegrationTest.groovy

        def "mutating managed inputs of a rule is not allowed"() {
            when:
            buildScript '''
                @Managed
                interface Person {
                    String getName()
                    void setName(String name)
                }
    
                class RulePlugin extends RuleSource {
                    @Model
                    void person(Person person) {
                    }
    
                    @Model
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/DefaultLibraryResolver.java

                    if (flavor != null && !flavor.getName().equals(candidate.getFlavor().getName())) {
                        continue;
                    }
                    if (platform != null && !platform.getName().equals(candidate.getTargetPlatform().getName())) {
                        continue;
                    }
                    if (buildType != null && !buildType.getName().equals(candidate.getBuildType().getName())) {
                        continue;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/RelevantMethods.java

                if (method.getName().equals("configure")) {
                    if (!method.getReturnType().equals(Void.TYPE)) {
                        throw new ServiceValidationException(String.format("Method %s.%s() must return void.", type.getName(), method.getName()));
                    }
                    add(configurers, method);
                } else if (method.getName().startsWith("create") || method.getName().startsWith("decorate")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultArtifactRepositoryContainerTest.groovy

            def repo1 = Mock(ArtifactRepository) { getName() >> "a" }
            def repo2 = Mock(ArtifactRepository) { getName() >> "b" }
    
            when:
            container.addLast(repo1)
            container.addLast(repo2)
    
            then:
            container == [repo1, repo2]
        }
    
        def testGetThrowsExceptionForUnknownResolver() {
            when:
            container.getByName("unknown")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top