Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 764 for 1020 (0.1 seconds)

  1. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                final String path = entry.getKey();
                if (servletPath.startsWith(path)) {
                    req.setCharacterEncoding(entry.getValue());
                    final StringBuilder locationBuf = new StringBuilder(1000);
                    final String contextPath = servletContext.getContextPath();
                    if (StringUtil.isNotBlank(contextPath) && !"/".equals(contextPath)) {
                        locationBuf.append(contextPath);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                byte[] buffer = new byte[100];
    
                int bytesRead = echoRequest.readBytesWireFormat(buffer, 0);
    
                assertEquals(0, bytesRead);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer content")
            void testReadBytesWithVariousBufferContent() {
                byte[] emptyBuffer = new byte[100];
                byte[] fullBuffer = new byte[100];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

        }
    
        @Test
        public void test_longMessage() {
            // Test with very long message
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("LDAP error ").append(i).append(" ");
            }
            String message = longMessage.toString();
    
            LdapOperationException exception = new LdapOperationException(message);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        @Test
        public void test_withLongMessage() {
            // Test with a very long message
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Error message part ").append(i).append(" ");
            }
            String message = longMessage.toString();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final Extractor extractor = getExtractor(responseData);
            final String mimeType = responseData.getMimeType();
            final StringBuilder contentMetaBuf = new StringBuilder(1000);
            final Map<String, Object> dataMap = new HashMap<>();
            final Map<String, Object> metaDataMap = new HashMap<>();
            String content;
            try (final InputStream in = responseData.getResponseBody()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                final StringBuilder buf = new StringBuilder(100);
                return ".*" + appendFileterPath(buf, escape(v)) + ".*";
            }
            if (s.startsWith(REGEXP_IGNORE_CASE)) {
                final String v = s.substring(REGEXP_IGNORE_CASE.length());
                final StringBuilder buf = new StringBuilder(100);
                buf.append("(?i)");
                return appendFileterPath(buf, unescape(v));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  7. src/bufio/scan_test.go

    			panic(err)
    		}
    	}()
    	for count := 0; s.Scan(); count++ {
    		if count > 1000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    func TestBlankLines(t *testing.T) {
    	s := NewScanner(strings.NewReader(strings.Repeat("\n", 1000)))
    	for count := 0; s.Scan(); count++ {
    		if count > 2000 {
    			t.Fatal("looping")
    		}
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param dstIndex the starting index in the destination array
         */
        public static void writeUTime(final long t, final byte[] dst, final int dstIndex) {
            writeInt4(t / 1000, dst, dstIndex);
        }
    
        /**
         * SMB1 protocol header template with magic number 0xFF 'SMB'
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            }
    
            @Test
            @DisplayName("Should maintain value consistency after multiple constructions")
            void testValueConsistency() {
                // Given: Same input value
                int inputValue = 1000;
                int expectedMasked = inputValue & 0xFF; // 232
    
                // When: Creating multiple NdrShort instances
                NdrShort ndrShort1 = new NdrShort(inputValue);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        @Test
        public void test_setDefaultRowSize() {
            indexingHelper.setDefaultRowSize(50);
            assertEquals(50, indexingHelper.defaultRowSize);
    
            indexingHelper.setDefaultRowSize(1000);
            assertEquals(1000, indexingHelper.defaultRowSize);
        }
    
        @Test
        public void test_setRequestInterval() {
            indexingHelper.setRequestInterval(1000L);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
Back to Top