Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for splitString (0.12 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. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

    tasks.validatePlugins {
        enableStricterValidation = true
    }
    
    // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules
    // TODO consider splitting `java-gradle-plugin` to provide only what's necessary here
    configurations.all {
        withDependencies {
            remove(project.dependencies.gradleApi())
            remove(project.dependencies.gradleTestKit())
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. 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)
  4. internal/logger/console.go

    	// Build the passed error message
    	errMsg := fmt.Sprintf(msg, args...)
    
    	tagPrinted := false
    
    	// Print the error message: the following code takes care
    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top