- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for NAME1 (0.01 sec)
-
src/test/java/jcifs/netbios/NameTest.java
assertFalse(name1.equals(name2)); } @Test void equals_withDifferentHexCode_shouldReturnFalse() { Name name1 = new Name(mockConfig, "TEST", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST", 0x1C, "scope"); assertFalse(name1.equals(name2)); } @Test void equals_withDifferentScope_shouldReturnFalse() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
public void test_add_replacementByClassName() { TestScriptEngine engine1 = new TestScriptEngine("first"); TestScriptEngine engine2 = new TestScriptEngine("second"); scriptEngineFactory.add("name1", engine1); scriptEngineFactory.add("name2", engine2); // Both engines have same class name, so second should replace first for class name lookup
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
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 void testPopulateWithIncludeDirective() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// 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 src[srcIndex + 17] = 0x04; // flags: active // Second name entry (18 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
bb.put(specialName.getBytes(StandardCharsets.UTF_16LE)); bb.putShort((short) 0); // Expanded names at offset 44 bb.position(44); String[] expandedNames = { "NAME1", "NAME2", "NAME3" }; for (String name : expandedNames) { bb.put(name.getBytes(StandardCharsets.UTF_16LE)); bb.putShort((short) 0); } // Decode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0)