Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for splitString (0.11 sec)

  1. guava/src/com/google/common/base/Splitter.java

     *
     * <p>Splitter instances are thread-safe immutable, and are therefore safe to store as {@code static
     * final} constants.
     *
     * <p>The {@link Joiner} class provides the inverse operation to splitting, but note that a
     * round-trip between the two should be assumed to be lossy.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/StringsExplained#splitter">{@code Splitter}</a>.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. mvnw

        # and check out the repository with auto CRLF management
        # enabled. Otherwise, we may read lines that are delimited with
        # \r\n and produce $'-Xarg\r' rather than -Xarg due to word
        # splitting rules.
        tr -s '\r\n' ' ' <"$1"
      fi
    }
    
    log() {
      if [ "$MVNW_VERBOSE" = true ]; then
        printf '%s\n' "$1"
      fi
    }
    
    BASE_DIR=$(find_maven_basedir "$(dirname "$0")")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertThat(finalSize - mapSize).isLessThan(100);
      }
    
      private static <T> T[] arrayOf(T... objs) {
        return objs;
      }
    
      @J2ktIncompatible
      @GwtIncompatible("assumptions about splitting")
      public void testKeySetSplittable() {
        ImmutableMap<Integer, Integer> map =
            ImmutableMap.<Integer, Integer>builder()
                .put(1, 1)
                .put(2, 2)
                .put(3, 3)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

        checkNotNull(range);
        checkNotNull(remappingFunction);
    
        if (range.isEmpty()) {
          return;
        }
        split(range.lowerBound);
        split(range.upperBound);
    
        // Due to the splitting of any entries spanning the range bounds, we know that any entry with a
        // lower bound in the merge range is entirely contained by the merge range.
        Set<Entry<Cut<K>, RangeMapEntry<K, V>>> entriesInMergeRange =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      /**
       * This test really pushes the boundaries of what we support. In general the splitter's behaviour
       * is not well defined if the char sequence it's splitting is mutated during iteration.
       */
      private void assertSplitterIterableIsLazy(Splitter splitter) {
        StringBuilder builder = new StringBuilder();
        Iterator<String> iterator = splitter.split(builder).iterator();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    		tw.err = tw.writeGNUHeader(&tw.hdr)
    		return tw.err
    	default:
    		return err // Non-fatal error
    	}
    }
    
    func (tw *Writer) writeUSTARHeader(hdr *Header) error {
    	// Check if we can use USTAR prefix/suffix splitting.
    	var namePrefix string
    	if prefix, suffix, ok := splitUSTARPath(hdr.Name); ok {
    		namePrefix, hdr.Name = prefix, suffix
    	}
    
    	// Pack the main header.
    	var f formatter
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. configure.py

            ask_cuda_compute_capabilities,
            default_cuda_compute_capabilities,
        )
        # Check whether all capabilities from the input is valid
        all_valid = True
        # Remove all whitespace characters before splitting the string
        # that users may insert by accident, as this will result in error
        hermetic_cuda_compute_capabilities = ''.join(
            hermetic_cuda_compute_capabilities.split()
        )
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    			if err != nil {
    				return false
    			}
    		}
    	}
    
    	// Further check if this object is uploaded using multipart mechanism
    	// by the user and it is not about Erasure internally splitting the
    	// object into parts in PutObject()
    	return len(o.ETag) != 32
    }
    
    // ParseSSECopyCustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    }
    
    // DeleteObjects deletes objects/versions in bulk, this function will still automatically split objects list
    // into smaller bulks if some object names are found to be duplicated in the delete list, splitting
    // into smaller bulks will avoid holding twice the write lock of the duplicated object names.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top