Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for longname (0.07 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

        public void test_provide_withLongClassificationName() {
            // Test with very long classification name
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longName.append("VeryLongClassificationName");
            }
            assertProvideThrowsException(longName.toString());
        }
    
        public void test_provide_withUnicodeCharacters() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K 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. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String[] values = { longValue };
            RequestParameter param = new RequestParameter(longName, values);
    
            assertEquals(longName, param.getName());
            assertNotNull(param.getValues());
            assertEquals(1, param.getValues().length);
            assertEquals(longValue, param.getValues()[0]);
        }
    
        public void test_getName() {
            // Test getName method explicitly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K 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/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)
  8. 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)
  9. 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)
  10. src/bytes/bytes.go

    // It is analogous to the facilities of the [strings] package.
    package bytes
    
    import (
    	"internal/bytealg"
    	"math/bits"
    	"unicode"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top