Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 669 for Leading (1.32 seconds)

  1. src/test/java/jcifs/util/PathValidatorTest.java

            assertEquals("\\server\\share", normalizedPath);
    
            // To properly test UNC rejection, we would need to fix the normalization logic
            // to preserve the leading double backslash for UNC paths
        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/path-params.md

    So, you can use it with:
    
    {* ../../docs_src/path_params/tutorial004_py310.py hl[6] *}
    
    /// tip
    
    You might need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`).
    
    In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`.
    
    ///
    
    ## Recap { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        var value = 0
        val groupOffset = i
        while (i < limit) {
          val c = input[i]
          if (c < '0' || c > '9') break
          if (value == 0 && groupOffset != i) return false // Reject unnecessary leading '0's.
          value = value * 10 + c.code - '0'.code
          if (value > 255) return false // Value out of range.
          i++
        }
        val groupLength = i - groupOffset
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/CharStreams.java

        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
       * Files#readLines} and {@link Resources#readLines} methods.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            assertEquals("\"", result[1]);
            assertEquals("\"\"", result[2]);
        }
    
        @Test
        public void test_parse_whitespace() {
            String value;
            String[] result;
    
            // Leading and trailing spaces
            value = " value1 , value2 , value3 ";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(3, result.length);
            assertEquals(" value1 ", result[0]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://www.example.com".toHttpUrl())).isFalse()
        assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse()
      }
    
      /** Ignore an optional leading `.` in the domain.  */
      @Test fun domainMatchesIgnoresLeadingDot() {
        val cookie = parse(url, "a=b; domain=.example.com")
        assertThat(cookie!!.matches("http://example.com".toHttpUrl())).isTrue()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            String testSuffix = "test suffix";
            ExecJob result = execJob.logSuffix(testSuffix);
            assertEquals("test_suffix", execJob.logSuffix);
            assertSame(execJob, result);
    
            // Test with leading/trailing spaces
            result = execJob.logSuffix("  another suffix  ");
            assertEquals("another_suffix", execJob.logSuffix);
    
            // Test with multiple spaces
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  8. src/cmd/cgo/ast.go

    	f.walk(ast1, ctxProg, (*File).saveExport)
    	f.walk(ast2, ctxProg, (*File).saveExport2)
    
    	f.Comments = ast1.Comments
    	f.AST = ast2
    }
    
    // Like ast.CommentGroup's Text method but preserves
    // leading blank lines, so that line numbers line up.
    func commentText(g *ast.CommentGroup) string {
    	pieces := make([]string, 0, len(g.List))
    	for _, com := range g.List {
    		c := com.Text
    		// Remove comment markers.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:59 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

        replaceWith = ReplaceWith(expression = "secure"),
        level = DeprecationLevel.ERROR,
      )
      fun secure(): Boolean = secure
    
      /**
       * @param forObsoleteRfc2965 true to include a leading `.` on the domain pattern. This is
       *     necessary for `example.com` to match `www.example.com` under RFC 2965. This extra dot is
       *     ignored by more recent specifications.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  10. src/archive/zip/writer.go

    // It returns a [Writer] to which the file contents should be written.
    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name. Duplicate names will not overwrite previous entries
    // and are appended to the zip file.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top