- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 456 for spaces (0.04 sec)
-
android/guava/src/com/google/common/net/PercentEscaper.java
@GwtCompatible public final class PercentEscaper extends UnicodeEscaper { // In some escapers spaces are escaped to '+' private static final char[] plusSign = {'+'}; // Percent escapers output upper case hex digits (uri escapers require this). private static final char[] upperHexDigits = "0123456789ABCDEF".toCharArray(); /** If true we should convert space to the {@code +} character. */ private final boolean plusForSpace; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/leak-detect_test.go
// of leak checking. It excludes testing or runtime ones. func pickRelevantGoroutines() (gs []string) { // get runtime stack buffer. buf := debug.Stack() // runtime stack of go routines will be listed with 2 blank spaces between each of them, so split on "\n\n" . for g := range strings.SplitSeq(string(buf), "\n\n") { // Again split on a new line, the first line of the second half contains the info about the go routine.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/bytes/bytes.go
if f(r) { if start >= 0 { spans = append(spans, span{start, i}) start = -1 } } else { if start < 0 { start = i } } i += size } // Last field might end at EOF. if start >= 0 { spans = append(spans, span{start, len(s)}) } // Create subslices from recorded field indices. a := make([][]byte, len(spans)) for i, span := range spans {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Test forward slashes assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "//server/share")); // Test with spaces assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt")); // Test with special characters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertSame(execJob, result); // Test with leading/trailing spaces result = execJob.logSuffix(" another suffix "); assertEquals("another_suffix", execJob.logSuffix); // Test with multiple spaces result = execJob.logSuffix("multi space suffix"); assertEquals("multi__space__suffix", execJob.logSuffix); } // Test timeout setter
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertEquals(0x0101, actualInfoLevel); } @Test void testWriteParametersWithSpecialCharacters() { String specialPath = "test/file with spaces and $pecial #chars!.txt"; trans2QueryPathInfo = new Trans2QueryPathInformation(config, specialPath, TEST_INFO_LEVEL); byte[] buffer = new byte[512];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertEquals( "text/plain; something=\"cr@zy\"; something-else=\"crazy with spaces\";" + " and-another-thing=\"\"; normal-thing=foo", MediaType.create("text", "plain") .withParameter("something", "cr@zy") .withParameter("something-else", "crazy with spaces") .withParameter("and-another-thing", "") .withParameter("normal-thing", "foo")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
*/ @Test @DisplayName("Test writeBytesWireFormat with special characters in file names") public void testWriteBytesWireFormatSpecialCharacters() { // Given String oldFileName = "file with spaces.txt"; String newFileName = "file@#$%.doc"; byte[] dst = new byte[200]; smbComRename = new SmbComRename(config, oldFileName, newFileName); int dstIndex = 0; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
public void test_add_whitespaceInName() { TestScriptEngine engine = new TestScriptEngine(); scriptEngineFactory.add(" test ", engine); // Should be stored with lowercase and original spaces ScriptEngine retrieved = scriptEngineFactory.getScriptEngine(" test "); assertNotNull(retrieved); assertEquals(engine, retrieved); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
// Test normal string without control characters assertEquals("test", InputValidator.sanitizeForLogging("test")); // Test removal of control characters (they are removed, not replaced with spaces) assertEquals("teststring", InputValidator.sanitizeForLogging("test\0string")); assertEquals("teststring", InputValidator.sanitizeForLogging("test\nstring"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0)