Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 315 for get_name (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertEquals("0.0.0.0", unknownName.getName(), "Unknown name should be 0.0.0.0");
        }
    
        @Test
        @DisplayName("Should handle null hostname in getByName")
        void testGetByNameWithNull() {
            // When/Then
            assertThrows(UnknownHostException.class, () -> {
                nameServiceClient.getByName(null);
            }, "Should throw UnknownHostException for null hostname");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                    if (test.getName().equals(JavaPlugin.TEST_TASK_NAME)) {
                        // Remove output class files and any other dependencies from the test classpath, since the shadow JAR includes these
                        SourceSetContainer sourceSets = project.getExtensions().getByType(SourceSetContainer.class);
                        FileCollection mainRuntime = sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME).getRuntimeClasspath();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                throw new UnknownHostException("no name with type 0x" + Hexdump.toHexString(addr.getNameType(), 2)
                        + (addr.getName().getScope() == null || addr.getName().getScope().isEmpty() ? " with no scope"
                                : " with scope " + addr.getName().getScope())
                        + " for host " + addr.getHostAddress());
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

                        return true;
                    }
                    if (isAnnotated(method, junitAnnotation)) {
                        getLogger().debug(
                            "{} is a test because it has method '{}' annotated with '{}'",
                            clazz.getName(),
                            method.getName(),
                            junitAnnotation.getName()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/UniAddressTest.java

            private NbtAddress nbtAddress2;
    
            @BeforeEach
            void setup() throws UnknownHostException {
                inetAddress1 = InetAddress.getByName("192.168.1.1");
                inetAddress2 = InetAddress.getByName("192.168.1.2");
                nbtAddress1 = mock(NbtAddress.class);
                nbtAddress2 = mock(NbtAddress.class);
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    if (pathInfo == null || server == null) {
                        final String mb = NbtAddress.getByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
                        dc = UniAddress.getByName(mb);
                    } else {
                        dc = UniAddress.getByName(server, possibleWorkgroup);
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.setVersion(original.getVersion());
            this.setGoalPrefix(original.getGoalPrefix());
            this.setInheritedByDefault(original.isInheritedByDefault());
            this.setName(original.getName());
            this.setDescription(original.getDescription());
            this.setRequiredMavenVersion(original.getRequiredMavenVersion());
            this.setRequiredJavaVersion(original.getRequiredJavaVersion());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

        @Internal
        public File getJarExpandDir() {
            return new File(new File(getProject().getBuildDir(), "precommit/thirdPartyAudit"), getName());
        }
    
        @OutputFile
        public File getSuccessMarker() {
            return new File(getProject().getBuildDir(), "markers/" + getName());
        }
    
        // We use compile classpath normalization here because class implementation changes are irrelevant for the purposes of jdk jar hell.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
Back to Top