Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 162 for separation (0.07 seconds)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        String separator = System.getProperty("line.separator");
        assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString());
      }
    
      public void testWriteLines_stream() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream());
        String separator = LINE_SEPARATOR.value();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       * example, {@code join("-", 1, 2, 3)} returns the string {@code "1-2-3"}.
       *
       * @param separator the text that should appear between consecutive values in the resulting string
       *     (but not at the start or end)
       * @param array an array of {@code int} values, possibly empty
       */
      public static String join(String separator, int... array) {
        checkNotNull(separator);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  3. internal/stmt_store/stmt_store.go

    //	error: An error if the statement preparation fails.
    func (s *lruStore) New(ctx context.Context, key string, isTransaction bool, conn ConnPool, locker sync.Locker) (_ *Stmt, err error) {
    	// Create a Stmt object and set its Transaction property.
    	// The prepared channel is used to synchronize the statement preparation state.
    	cacheStmt := &Stmt{
    		Transaction: isTransaction,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Apr 27 06:05:16 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

        public BaseEncoding withSeparator(String separator, int afterEveryChars) {
          for (int i = 0; i < separator.length(); i++) {
            checkArgument(
                !alphabet.matches(separator.charAt(i)),
                "Separator (%s) cannot contain alphabet characters",
                separator);
          }
          if (paddingChar != null) {
            checkArgument(
                separator.indexOf(paddingChar.charValue()) < 0,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 06 14:51:47 GMT 2025
    - 41.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            File file = new File(s);
            if (file.isAbsolute()) {
                // path was already absolute, just normalize file separator and we're done
                s = file.getPath();
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path, don't align with project directory but with drive root
                s = file.getAbsolutePath();
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

        }
    
        private static String runner(Map<String, String> add) throws Exception {
            String separator = FileSystems.getDefault().getSeparator();
            String classpath = System.getProperty("java.class.path");
            String path =
                    System.getProperty("java.home") + separator + "bin" + separator + (Os.IS_WINDOWS ? "java.exe" : "java");
            ProcessBuilder processBuilder =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

         */
        private
        fun File.injectAgentOptions(separator: String) {
            if (agentJarNames.isEmpty()) {
                return
            }
            var replacementsCount = 0
            // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too.
            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
                when {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Apr 08 01:46:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.support
    
    
    /**
     * Appends value to the given Appendable and simple `\n` line separator after it.
     *
     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/StandardSystemProperty.java

      OS_ARCH("os.arch"),
    
      /** Operating system version. */
      OS_VERSION("os.version"),
    
      /** File separator ("/" on UNIX). */
      FILE_SEPARATOR("file.separator"),
    
      /** Path separator (":" on UNIX). */
      PATH_SEPARATOR("path.separator"),
    
      /** Line separator ("\n" on UNIX). */
      LINE_SEPARATOR("line.separator"),
    
      /** User's account name. */
      USER_NAME("user.name"),
    
      /** User's home directory. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. cmd/metacache-set_gen.go

    			}
    		case "Recursive":
    			z.Recursive, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Recursive")
    				return
    			}
    		case "Separator":
    			z.Separator, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Separator")
    				return
    			}
    		case "Create":
    			z.Create, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Create")
    				return
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.8K bytes
    - Click Count (0)
Back to Top