- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 106 for rstrip (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/handlers/proxy.go
// extract the first, which should be the client IP. if match := forRegex.FindStringSubmatch(fwd); len(match) > 1 { // IPv6 addresses in Forwarded headers are quoted-strings. We strip // these quotes. addr = strings.Trim(match[1], `"`) } } } return addr } // GetSourceIPRaw retrieves the IP from the request headers
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
/** * Unit tests for {@link NegTokenTarg}. The class has no external * collaborators so tests are mostly focused on round‑trip * serialisation and invalid input handling. */ class NegTokenTargTest { @Test @DisplayName("happy path – full token round‑trip") void testRoundTripFull() throws IOException { // Arrange – create a fully populated tokenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/distributed/DESIGN.md
Refer to the sizing guide with details on the default parity count chosen for different erasure stripe sizes [here](https://github.com/minio/minio/blob/master/docs/distributed/SIZING.md)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 8K bytes - Click Count (2) -
configure.py
except subprocess.CalledProcessError as e: output = e.output else: output = subprocess.check_output(cmd, stderr=stderr) return output.decode('UTF-8').strip() def cygpath(path): """Convert path from posix to windows.""" return os.path.abspath(path).replace('\\', '/') def get_python_path(environ_cp, python_bin_path):Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Apr 30 15:18:54 GMT 2025 - 48.3K bytes - Click Count (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 {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
*/ public void testDecode_Null() throws Exception { final byte[] result = Base64Util.decode(null); assertNull("Null should return null", result); } /** * Test encode/decode round trip with various data * * @throws Exception */ public void testEncodeDecode_RoundTrip() throws Exception { // Test with ASCII text final String text = "Hello, World!";Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (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")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
/** * Unit test for {@link Resources}. * * @author Chris Nokleberg */ @NullUnmarked public class ResourcesTest extends IoTestCase { @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
*/ @ExtendWith(MockitoExtension.class) public class NdrHyperTest { /** * Tests a simple round‑trip encode → decode retains the original value. */ @Test @DisplayName("Basic round‑trip for a fixed value") public void testEncodeRoundTrip() throws NdrException { final long original = 0x1122334455667788L; NdrHyper hyper = new NdrHyper(original);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (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");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0)