- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for braces (0.03 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
final int openBraces = content.length() - content.replace("{", "").length(); final int closeBraces = content.length() - content.replace("}", "").length(); assertEquals("Braces should be balanced", openBraces, closeBraces); } } /** * Test that InputStream is properly closed even when exception occurs. * Verifies try-with-resources cleanup behavior. */
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
/** * Resolves the given host name to an array of IP addresses. * The host name is first converted to ASCII using IDN before resolution. * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are * handled specially by removing the brackets before resolution. * * @param host the host name to resolve * @return an array of IP addresses for the hostRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java
// Test characters just outside ranges that are not valid assertFalse(CharUtil.isUrlChar('`')); // backtick (just before 'a') assertFalse(CharUtil.isUrlChar('{')); // left brace (just after 'z') assertFalse(CharUtil.isUrlChar('^')); // caret (before 'a' range) assertFalse(CharUtil.isUrlChar('|')); // pipe (not in valid set) }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.6K bytes - Viewed (0) -
.github/workflows/maven.yml
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: Java CI with Maven on: push: branches: - master - "*.x" pull_request: branches: - master - "*.x" jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] steps:Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 677 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
opcode = b0 and B0_MASK_OPCODE isFinalFrame = b0 and B0_FLAG_FIN != 0 isControlFrame = b0 and OPCODE_FLAG_CONTROL != 0 // Control frames must be final frames (cannot contain continuations). if (isControlFrame && !isFinalFrame) { throw ProtocolException("Control frames must be final.") } val reservedFlag1 = b0 and B0_FLAG_RSV1 != 0 when (opcode) { OPCODE_TEXT, OPCODE_BINARY -> {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 10K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
} } return waitingThreads; } @Override @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races public Boolean get() { // Check that this method is called exactly once, by the first // thread to synchronize. long t0 = System.nanoTime();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
} } return waitingThreads; } @Override @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races public Boolean get() { // Check that this method is called exactly once, by the first // thread to synchronize. long t0 = System.nanoTime();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
.github/workflows/codeql-analysis.yml
# # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. name: "CodeQL" on: push: branches: [master] pull_request: # The branches below must be a subset of the branches above branches: [master] schedule: - cron: '0 11 * * 4' jobs: analyze: name: Analyze runs-on: ubuntu-latest strategy: fail-fast: false
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} } /** * Formats an IP address string for use in a URL. * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is. * * @param address the IP address string to format * @return the formatted address (IPv6 with brackets, IPv4 unchanged) */ public static String formatForUrl(final String address) { if (address == null) { return null;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 08:31:03 UTC 2025 - 9.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java
} public void test_resolve_invalid_brackets() { IdnDnsResolver resolver = new IdnDnsResolver(); // Test empty brackets - should be treated as invalid hostname try { resolver.resolve("[]"); fail("Should throw UnknownHostException for empty brackets"); } catch (UnknownHostException e) { // Expected behavior } }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.6K bytes - Viewed (0)