Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 436 for SplitN (0.08 sec)

  1. android/guava/src/com/google/common/reflect/ClassPath.java

        String classpathAttribute =
            manifest.getMainAttributes().getValue(Attributes.Name.CLASS_PATH.toString());
        if (classpathAttribute != null) {
          for (String path : CLASS_PATH_ATTRIBUTE_SEPARATOR.split(classpathAttribute)) {
            URL url;
            try {
              url = getClassPathEntry(jarFile, path);
            } catch (MalformedURLException e) {
              // Ignore bad entry
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    // which is allowed for by the PAX specification, but not always portable.
    func parsePAXTime(s string) (time.Time, error) {
    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    	secs, err := strconv.ParseInt(ss, 10, 64)
    	if err != nil {
    		return time.Time{}, ErrHeader
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * 文字列を分割します。
         *
         * @param str
         *            文字列
         * @param delim
         *            分割するためのデリミタ
         * @return 分割された文字列の配列
         */
        public static String[] split(final String str, final String delim) {
            if (isEmpty(str)) {
                return EMPTY_STRINGS;
            }
            final List<String> list = newArrayList();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser_test.go

    	testCases := []struct {
    		inputSignElement string
    		expectedSignStr  string
    		expectedErrCode  APIErrorCode
    	}{
    		// Test case - 1.
    		// SignElement doesn't have 2 parts on an attempt to split at '='.
    		// ErrMissingFields expected.
    		{
    			inputSignElement: "Signature",
    			expectedSignStr:  "",
    			expectedErrCode:  ErrMissingFields,
    		},
    		// Test case - 2.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Ascii.java

       * for use with it (such as all-ASCII text) and for simple debugging text. When using this method,
       * consider the following:
       *
       * <ul>
       *   <li>it may split surrogate pairs
       *   <li>it may split characters and combining characters
       *   <li>it does not consider word boundaries
       *   <li>if truncating for display to users, there are other considerations that must be taken
       *       into account
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    						failed.UserPolicies,
    						madmin.IAMErrPolicyEntity{
    							Name:     u,
    							Policies: strings.Split(pm.Policies, ","),
    							Error:    err,
    						})
    				} else {
    					added.UserPolicies = append(added.UserPolicies, map[string][]string{u: strings.Split(pm.Policies, ",")})
    				}
    			}
    		}
    	}
    
    	// import group policy mappings
    	{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        // remove
                        String[] ignoreFields;
                        if (paramMap.containsKey("ignore.field.names")) {
                            ignoreFields = ((String) paramMap.get("ignore.field.names")).split(",");
                        } else {
                            ignoreFields = new String[] { Constants.INDEXING_TARGET, Constants.SESSION_ID };
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
          String expectedOutput = iterator.next();
          assertFalse(iterator.hasNext());
          assertEquals(expectedOutput, simplifyPath(input));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
          String expectedOutput = iterator.next();
          assertFalse(iterator.hasNext());
          assertEquals(expectedOutput, simplifyPath(input));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. cmd/admin-handlers-pools.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminRebalanceAlreadyStarted), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	v := vars["pool"]
    	byID := vars["by-id"] == "true"
    
    	pools := strings.Split(v, ",")
    	poolIndices := make([]int, 0, len(pools))
    
    	for _, pool := range pools {
    		var idx int
    		if byID {
    			var err error
    			idx, err = strconv.Atoi(pool)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top