Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 559 for name1 (0.02 sec)

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

            assertFalse(name1.equals(name2));
        }
    
        @Test
        void equals_withBothNullScope_shouldReturnTrue() {
            Name name1 = new Name(mockConfig, "TEST", 0x20, null);
            name1.scope = null;
            Name name2 = new Name(mockConfig, "TEST", 0x20, null);
            name2.scope = null;
    
            assertTrue(name1.equals(name2));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertEquals("name1", map1.get("name"));
    
            Map<String, Object> map2 = resultList.get(1);
            assertEquals("name2", map2.get("name"));
        }
    
        public void test_register_entitySet() {
            RenderData data = new RenderData();
    
            BsUser entity1 = new BsUser();
            entity1.setName("name1");
    
            BsUser entity2 = new BsUser();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            Integer comp3 = 123;
    
            ComponentUtil.register(comp1, "name1");
            ComponentUtil.register(comp2, "name2");
            ComponentUtil.register(comp3, "name3");
    
            assertEquals(comp1, ComponentUtil.getComponent("name1"));
            assertEquals(comp2, ComponentUtil.getComponent("name2"));
            assertEquals(comp3, ComponentUtil.getComponent("name3"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            assertEquals(engine2, retrievedByClass);
    
            // But original names should still work
            assertEquals(engine1, scriptEngineFactory.getScriptEngine("name1"));
            assertEquals(engine2, scriptEngineFactory.getScriptEngine("name2"));
        }
    
        // Test with engine that has very long class name
        public void test_add_longClassName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            // Newline characters
            testTransformer.setName("name\nwith\nnewlines");
            assertEquals("name\nwith\nnewlines", testTransformer.getName());
        }
    
        /**
         * Test multiple name changes
         */
        public void test_multipleNameChanges() {
            String[] names = { "first", "second", "third", "fourth", "fifth" };
    
            for (String name : names) {
                testTransformer.setName(name);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

            for (String name : expectedNames) {
                bb.put(name.getBytes(StandardCharsets.UTF_16LE));
                bb.putShort((short) 0);
            }
    
            referral.decode(testBuffer, 0, testBuffer.length);
    
            assertArrayEquals(expectedNames, referral.getExpandedNames());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            rDataLengthField.setAccessible(true);
            rDataLengthField.set(response, 67); // 1 + 18 * 3 + 6 + 6 = 67 (3 names example)
    
            // Number of names
            src[srcIndex] = 0x03; // 3 names
    
            // First name entry (18 bytes)
            String name1 = "WORKSTATION     ";
            System.arraycopy(name1.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16);
            src[srcIndex + 16] = 0x00; // hex code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            tableField.setAccessible(true);
            Map<Name, NbtAddress> table = (Map<Name, NbtAddress>) tableField.get(lmhosts);
    
            Name name1 = new Name(mockConfig, "HOST1", 0x20, null);
            Name name2 = new Name(mockConfig, "HOST2", 0x20, null);
    
            assertNotNull(table.get(name1));
            assertNotNull(table.get(name2));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Name.java

         *
         * @param cfg the configuration to use
         * @param name the NetbiosName to copy from
         */
        public Name(final Configuration cfg, final NetbiosName name) {
            this.config = cfg;
            this.name = name.getName();
            this.hexCode = name.getNameType();
            this.scope = name.getScope();
            if (name instanceof Name) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Name.java

        Name() {
        }
    
        /**
         * Creates a NetBIOS name with the specified attributes.
         *
         * @param name the NetBIOS name (will be truncated to 15 characters if longer)
         * @param hexCode the NetBIOS name type/suffix
         * @param scope the NetBIOS scope identifier (uses default if null or empty)
         */
        public Name(String name, final int hexCode, final String scope) {
            if (name.length() > 15) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top