Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for longname (0.21 sec)

  1. src/archive/tar/writer_test.go

    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    				Size:     16 << 30,
    				Mode:     0644,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "guillaume",
    				Gname:    "guillaume",
    				ModTime:  time.Unix(1399583047, 0),
    			}, nil},
    		},
    	}, {
    		// This file was produced using GNU tar v1.17.
    		//	gnutar -b 4 --format=ustar (longname/)*15 + file.txt
    		file: "testdata/ustar.tar",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    		{"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true},
    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            // Test with a very long component name
            String longName = "com.example.very.long.package.name.with.many.nested.levels.MyVeryLongComponentNameThatExceedsNormalLength";
            ContainerNotAvailableException exception = new ContainerNotAvailableException(longName, null);
    
            assertEquals(longName + " is not available.", exception.getMessage());
            assertEquals(longName, exception.getComponentName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        /**
         * Test name with very long string
         */
        public void test_name_veryLongString() {
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 10000; i++) {
                longName.append("verylongname");
            }
            String longNameStr = longName.toString();
    
            testTransformer.setName(longNameStr);
            assertEquals(longNameStr, testTransformer.getName());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Prepare test data with long filename (255 characters)
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 255; i++) {
                longName.append((char) ('a' + (i % 26)));
            }
            String expectedFilename = longName.toString();
            byte[] buffer = createValidBuffer(expectedFilename, "LONGNA~1.TXT", true);
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Create a long filename
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longName.append("test");
            }
            String fileName = longName.toString();
            byte[] fileNameBytes = fileName.getBytes("UnicodeLittleUnmarked");
    
            // Write structure header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    	// Use long-link files if Name or Linkname exceeds the field size.
    	const longName = "././@LongLink"
    	if len(hdr.Name) > nameSize {
    		data := hdr.Name + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongName, FormatGNU); err != nil {
    			return err
    		}
    	}
    	if len(hdr.Linkname) > nameSize {
    		data := hdr.Linkname + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongLink, FormatGNU); err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        @Test
        @DisplayName("Test with very long filename")
        void testWithVeryLongFilename() {
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                sb.append("longname");
            }
            String longFileName = sb.toString() + ".txt";
    
            FileRenameInformation2 info = new FileRenameInformation2(longFileName, false);
    
            int expectedSize = 20 + 2 * longFileName.length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(0, name.srcHashCode);
        }
    
        @Test
        void constructor_withLongName_shouldTruncateTo15Characters() {
            String longName = "ThisIsAVeryLongNameThatExceeds15Characters";
            Name name = new Name(mockConfig, longName, 0x20, null);
    
            assertEquals("THISISAVERYLONG", name.name);
            assertEquals(15, name.name.length());
        }
    
        @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)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        return policy == Policies.DISABLED
            ? new ReentrantLock(fair)
            : new CycleDetectingReentrantLock(new LockGraphNode(lockName), fair);
      }
    
      /** Equivalent to {@code newReentrantReadWriteLock(lockName, false)}. */
      public ReentrantReadWriteLock newReentrantReadWriteLock(String lockName) {
        return newReentrantReadWriteLock(lockName, false);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top