Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 939 for get_name (0.13 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

        @Override
        public int hashCode() {
            return name.hashCode();
        }
    
        @Override
        public boolean equals(Object other) {
            return (other instanceof Parameter parameter) && getName().equals(parameter.getName());
        }
    
        public String getAlias() {
            return alias;
        }
    
        public void setAlias(String alias) {
            this.alias = alias;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java

        private static void addPluginResources(final Project project, final Project pluginProject) {
            final File outputDir = new File(project.getBuildDir(), "/generated-test-resources/" + pluginProject.getName());
            String camelProjectName = stream(pluginProject.getName().split("-")).map(t -> StringUtils.capitalize(t))
                .collect(Collectors.joining());
            String taskName = "copy" + camelProjectName + "Metadata";
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.2K 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Callables.java

      private static boolean trySetName(String threadName, Thread currentThread) {
        /*
         * setName should usually succeed, but the security manager can prohibit it. Is there a way to
         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                        model.setPackaging(intPackaging);
                    }
                    // Name
                    String orgName = model.getName();
                    String intName = interpolate(orgName);
                    if (orgName != intName) {
                        model.setName(intName);
                    }
                    // Description
                    String orgDescription = model.getDescription();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Test getName and setName methods
            generator = new TestThumbnailGenerator();
    
            // Default name should be null
            assertNull(generator.getName());
    
            // Set and get name
            generator.setName("test-generator");
            assertEquals("test-generator", generator.getName());
    
            // Change name
            generator.setName("new-name");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

            if (obj instanceof final SmbShareInfo si) {
                return netName.equals(si.netName);
            }
            return false;
        }
    
        @Override
        public int hashCode() {
            return netName.hashCode();
        }
    
        @Override
        public String toString() {
            return ("SmbShareInfo[" + "netName=" + netName + ",type=0x" + Hexdump.toHexString(type, 8) + ",remark=" + remark + "]");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

                return Objects.equals(this.netName, si.netName);
            }
            return false;
        }
    
        @Override
        public int hashCode() {
            return Objects.hashCode(this.netName);
        }
    
        @Override
        public String toString() {
            return ("SmbShareInfo[" + "netName=" + this.netName + ",type=0x" + Hexdump.toHexString(this.type, 8) + ",remark=" + this.remark
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

        /**
         * Returns the name of the request header.
         * @return The name of the request header.
         */
        public String getName() {
            return name;
        }
    
        /**
         * Sets the name of the request header.
         * @param name The name of the request header.
         */
        public void setName(final String name) {
            this.name = name;
        }
    
        /**
         * Returns the value of the request header.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.8K bytes
    - Click Count (0)
Back to Top