Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,572 for name4 (0.05 seconds)

  1. 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());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. clause/expression_test.go

    	}, {
    		SQL:          "name1 = @name1 AND name2 = @name2 AND name3 = @name1",
    		Vars:         []interface{}{sql.Named("name1", "jinzhu"), sql.Named("name2", "jinzhu2")},
    		Result:       "name1 = ? AND name2 = ? AND name3 = ?",
    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2", "jinzhu"},
    	}, {
    		SQL:          "name1 = @name1 AND name2 = @name2 AND name3 = @name1",
    		Vars:         []interface{}{map[string]interface{}{"name1": "jinzhu", "name2": "jinzhu2"}},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          return 0;
        }
      }
    
      private static NamedObject named(String name) {
        return new NamedObject(name);
      }
    
      private static class NamedObject {
        private final Set<String> peerNames = new HashSet<>();
    
        private final String name;
    
        NamedObject(String name) {
          this.name = Preconditions.checkNotNull(name);
        }
    
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  7. cmd/os-readdir_test.go

    		}
    		// Symlink will not be added to entries.
    		if err := os.Symlink(filepath.Join(dir, name1), filepath.Join(dir, name2)); err != nil {
    			t.Fatalf("Unable to create a symlink, %s", err)
    		}
    		// Add to entries.
    		entries = append(entries, name1)
    		// Symlinks are preserved for regular files
    		entries = append(entries, name2)
    	}
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            String name = searcher.getName();
            assertNotNull(name);
            assertTrue(name.equals("my_custom") || name.equals("mycustom"));
        }
    
        /**
         * Test getName() is cached (lazily initialized).
         */
        @Test
        public void test_getNameCached() {
            final TestSearcher searcher = new TestSearcher();
            final String name1 = searcher.getName();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. lib/hg/goreposum.py

      goreposum computes a checksum of all the named state in the remote repo.
      It hashes together all the branch names and hashes
      and then all the bookmark names and hashes.
      Tags are stored in .hgtags files in any of the branches,
      so the branch metadata includes the tags as well.
      """
      h = hashlib.sha256()
      peer = hg.peer(ui, {}, url)
      for name, revs in peer.branchmap().items():
        h.update(name)
        for r in revs:
          h.update(b' ')
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top