Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for 1bytes (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

                // If no exception, verify it handles negative as expected
            } catch (Exception e) {
                // Expected for negative values
            }
    
            // Test boundary values
            assertEquals("1bytes", MemoryUtil.byteCountToDisplaySize(1L));
            assertEquals("999bytes", MemoryUtil.byteCountToDisplaySize(999L));
    
            // Test very large values close to EB boundary
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                    return;
                }
                final byte[] bytes = content.getBytes(StandardCharsets.UTF_8);
                try (OutputStream out = Files.newOutputStream(filePath, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING,
                        LinkOption.NOFOLLOW_LINKS)) {
                    out.write(bytes);
                }
            } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            return new JakartaServletDiskFileUpload(fileItemFactory) {
                @Override
                public byte[] getBoundary(final String contentType) { // for security
                    final byte[] boundary = super.getBoundary(contentType);
                    checkBoundarySize(contentType, boundary);
                    return boundary;
                }
            };
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
        }
    
        /**
         * Checks if the byte array contains UTF-8 BOM (Byte Order Mark).
         *
         * @param b the byte array to check
         * @return true if the bytes represent UTF-8 BOM, false otherwise
         */
        private boolean isUtf8BomBytes(final byte[] b) {
            return b[0] == (byte) 0xEF && b[1] == (byte) 0xBB && b[2] == (byte) 0xBF;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                            return responseDataMap;
                        } catch (final Exception e) {
                            throw new CrawlerSystemException("Could not create an instance from bytes.", e);
                        }
                    }
                }
                return null;
            } catch (final Exception e) {
                throw new CrawlingAccessException("Failed to parse " + url, e);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                public String getAppCipherAlgorithm() {
                    return "AES";
                }
    
                @Override
                public String getAppCipherKey() {
                    return "1234567890123456"; // 16 bytes for AES
                }
            });
    
            // Create test cipher - use proper constructor with simple implementation
            InvertibleCryptographer cookieCipher = new InvertibleCryptographer("AES", "1234567890123456", null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

                    "This is test data for compression that should be long enough to actually compress effectively when using gzip compression algorithm";
            byte[] originalBytes = testData.getBytes();
    
            byte[] compressed = searchHelper.gzipCompress(originalBytes);
            byte[] decompressed = searchHelper.gzipDecompress(compressed);
    
            assertEquals(testData, new String(decompressed));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            }
    
            @Override
            public java.io.InputStream getInputStream() {
                return new java.io.ByteArrayInputStream(new byte[0]);
            }
    
            @Override
            public java.io.InputStream getErrorStream() {
                return new java.io.ByteArrayInputStream(new byte[0]);
            }
        }
    
        private static class TestInputStreamThread extends InputStreamThread {
            private final String output;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  9. src/main/resources/fess_config.properties

    http.proxy.port=8080
    # Username for HTTP proxy authentication.
    http.proxy.username=
    # Password for HTTP proxy authentication.
    http.proxy.password=
    # Maximum size (bytes) for HTTP file uploads.
    http.fileupload.max.size=262144000
    # Threshold size (bytes) for HTTP file upload buffering.
    http.fileupload.threshold.size=262144
    # Maximum number of files allowed per HTTP upload.
    http.fileupload.max.file.count=10
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  10. .teamcity/scripts/CheckBadMerge.java

        }
    
        private static String readFully(InputStream inputStream) throws IOException {
            try (InputStream in = inputStream; ByteArrayOutputStream out = new ByteArrayOutputStream()) {
                byte[] buffer = new byte[8192];
                int read;
                while ((read = in.read(buffer)) >= 0) {
                    out.write(buffer, 0, read);
                }
                return out.toString(StandardCharsets.UTF_8.name());
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
Back to Top