Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 130 for strip (0.17 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

      @Test
      fun hostContainsOnlyStrippedCharacters() {
        val url = "http://>/".toHttpUrl()
        assertThat(url.host).isEqualTo(">")
        assertThat(url.toUri().host).isNull()
      }
    
      /**
       * Strip unexpected characters when converting to URI (which is more strict).
       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/BigIntegerMath.java

        // Start from the pre-computed maximum long factorial.
        int startingNumber = LongMath.factorials.length;
        long product = LongMath.factorials[startingNumber - 1];
        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    						error_(sel.Pos(), `cannot define new methods on non-local type %s`, &buf)
    					}
    				}
    			}
    		}
    
    	}
    	if !sawC {
    		error_(ast1.Package, `cannot find import "C"`)
    	}
    
    	// In ast2, strip the import "C" line.
    	if *godefs {
    		w := 0
    		for _, decl := range ast2.Decls {
    			d, ok := decl.(*ast.GenDecl)
    			if !ok {
    				ast2.Decls[w] = decl
    				w++
    				continue
    			}
    			ws := 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                 * path is just "\" and not "\example.com\root".
                 */
                link = "\\";
            }
            else if ( path.charAt(path.length() - 1) == '\\' ) {
                // strip trailing slash
                link = path.substring(0, path.length() - 1);
            }
            else {
                link = path;
            }
    
            if ( log.isTraceEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    repeat(String, int); public static String rightPad(String, int); public static String rightPad(String, int, String); public static String leftPad(String, int); public static String leftPad(String, int, String); public static String strip(String); public static String strip(String, String); public static String[] stripAll(String[]); public static String[] stripAll(String[], String); public static String stripEnd(String, String); public static String stripStart(String, String); public static String upperCase(String);...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  6. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    repeat(String, int); public static String rightPad(String, int); public static String rightPad(String, int, String); public static String leftPad(String, int); public static String leftPad(String, int, String); public static String strip(String); public static String strip(String, String); public static String[] stripAll(String[]); public static String[] stripAll(String[], String); public static String stripEnd(String, String); public static String stripStart(String, String); public static String upperCase(String);...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Doubles.java

      @GwtIncompatible // regular expressions
      private static
      java.util.regex.Pattern
          fpPattern() {
        /*
         * We use # instead of * for possessive quantifiers. This lets us strip them out when building
         * the regex for RE2 (which doesn't support them) but leave them in when building it for
         * java.util.regex (where we want them in order to avoid catastrophic backtracking).
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    repeat(String, int); public static String rightPad(String, int); public static String rightPad(String, int, String); public static String leftPad(String, int); public static String leftPad(String, int, String); public static String strip(String); public static String strip(String, String); public static String[] stripAll(String[]); public static String[] stripAll(String[], String); public static String stripEnd(String, String); public static String stripStart(String, String); public static String upperCase(String);...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    repeat(String, int); public static String rightPad(String, int); public static String rightPad(String, int, String); public static String leftPad(String, int); public static String leftPad(String, int, String); public static String strip(String); public static String strip(String, String); public static String[] stripAll(String[]); public static String[] stripAll(String[], String); public static String stripEnd(String, String); public static String stripStart(String, String); public static String upperCase(String);...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

      InternetDomainName(String name) {
        // Normalize:
        // * ASCII characters to lowercase
        // * All dot-like characters to '.'
        // * Strip trailing '.'
    
        name = Ascii.toLowerCase(DOTS_MATCHER.replaceFrom(name, '.'));
    
        if (name.endsWith(".")) {
          name = name.substring(0, name.length() - 1);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top