Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 314 for GetName (0.04 seconds)

  1. 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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

        public Parameter() {}
    
        public Parameter(org.apache.maven.api.plugin.descriptor.Parameter p) {
            this.setAlias(p.getAlias());
            this.setName(p.getName());
            this.setRequired(p.isRequired());
            this.setEditable(p.isEditable());
            this.setDescription(p.getDescription());
            this.setExpression(p.getExpression());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. 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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            long start2 = System.nanoTime();
            helper.setProperty(bean2, "name", String.class, config);
            long time2 = System.nanoTime() - start2;
    
            assertEquals("testValue", bean1.getName());
            assertEquals("testValue", bean2.getName());
    
            // Second call should be faster (though this is not guaranteed in all environments)
            // We mainly verify that both calls work correctly
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           */
          info.getName().contains("TypeResolverTest")
              /*
               * And at least one of the classes inside TypeTokenTest ends up with a null value in
               * TypeMappingIntrospector.mappings. That happens only under older JDKs, too, so it may
               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
              /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 01 03:07:54 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            return "org.apache.maven.api.di.Typed".equals(annotationType.getName())
                    || "org.eclipse.sisu.Typed".equals(annotationType.getName())
                    || "javax.enterprise.inject.Typed".equals(annotationType.getName())
                    || "jakarta.enterprise.inject.Typed".equals(annotationType.getName());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        Thread.currentThread().setContextClassLoader(classReloader);
        abstractFutureClass = classReloader.loadClass(AbstractFuture.class.getName());
        settableFutureClass = classReloader.loadClass(SettableFuture.class.getName());
      }
    
      @Override
      protected void tearDown() throws Exception {
        classReloader.close();
        Thread.currentThread().setContextClassLoader(oldClassLoader);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

         */
        @Test
        void testOverriddenMergeMethods() {
            List<String> methodNames = Stream.of(MavenMerger.class.getDeclaredMethods())
                    .filter(m -> m.getName().startsWith("merge"))
                    .filter(m -> {
                        String baseName = m.getName().substring(5 /* merge */);
                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

                    messageBuffer.append("  ");
                }
                messageBuffer.append("</").append(param.getName()).append(">").append(LS);
                messageBuffer.append("</configuration>");
    
                String alias = param.getAlias();
                if ((alias != null && !alias.isEmpty()) && !alias.equals(param.getName())) {
                    messageBuffer.append(LS).append(LS).append("-OR-").append(LS).append(LS);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top