- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for rstrip (0.04 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
if (m.matches() && m.groupCount() > 0) { return m.group(1); } return null; } /** * Strips comments from a line (everything after '#' character). * @param line the line to strip comments from * @return the line without comments */ protected String stripComment(final String line) { final int commentIndex = line.indexOf('#');
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
private Striped() {} /** * Returns the stripe that corresponds to the passed key. It is always guaranteed that if {@code * key1.equals(key2)}, then {@code get(key1) == get(key2)}. * * @param key an arbitrary, non-null key * @return the stripe that the passed key corresponds to */ public abstract L get(Object key); /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0) -
.github/workflows/maven.yml
mv "maven-local/$MAVEN_DIR"/* maven-local/ rm -r "maven-local/$MAVEN_DIR" else tar xzf maven-dist/apache-maven-*-bin.tar.gz -C maven-local --strip-components 1 fi echo "MAVEN_HOME=$PWD/maven-local" >> $GITHUB_ENV echo "$PWD/maven-local/bin" >> $GITHUB_PATH - name: Build with downloaded Maven shell: bash
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 04:24:24 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
} /** * @throws Exception */ @Test public void testRtrim() throws Exception { assertEquals("trim", StringUtil.rtrim("trimxxxx", "x")); assertEquals("", StringUtil.rtrim("xyz", "xyz")); assertEquals("trimxxxx", StringUtil.rtrim("trimxxxx", "y")); } /** * @throws Exception */ @Test public void testTrimSuffix() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
long initialTime = circuitBreaker.getTimeSinceLastStateChange(); assertTrue(initialTime >= 0, "Should have initial timestamp"); // Trip circuit circuitBreaker.trip(); Thread.sleep(100); long afterTripTime = circuitBreaker.getTimeSinceLastStateChange(); assertTrue(afterTripTime >= 100, "Time should have advanced");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
assertTrue(result.length > 0, "Result should not be empty"); // Verify round-trip conversion String roundTrip = new String(result, StandardCharsets.UTF_16LE); assertEquals(UNICODE_STRING, roundTrip, "Round-trip conversion should preserve Unicode"); } @Test @DisplayName("getASCIIBytes should encode string as ASCII")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertArrayEquals(mechs, parsed.getMechanisms(), "Mechanism OIDs should round-trip"); assertEquals(flags, parsed.getContextFlags(), "Flags should round-trip"); assertArrayEquals(mechToken, parsed.getMechanismToken(), "Mechanism token should round-trip"); assertArrayEquals(mic, parsed.getMechanismListMIC(), "MIC should round-trip"); assertTrue(parsed.getContextFlag(NegTokenInit.DELEGATION));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
@Test @DisplayName("Should strip path consumed correctly") void testStripPathConsumed() { // Set initial pathConsumed using fromReferral setupReferralDataWithPathConsumed(10); referralData.stripPathConsumed(5); assertEquals(5, referralData.getPathConsumed()); } @Test @DisplayName("Should strip exact path consumed")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
assertEquals(largeValue, ndrShort.value); } } @Nested @DisplayName("Round-trip Tests") class RoundTripTests { @Test @DisplayName("Should handle encode-decode round-trip correctly") void testEncodeDecodeRoundTrip() throws NdrException { // Given: Original value that fits in byte range
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0)