Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 472 for charactersOf (0.15 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
     * The returned string attempts to be column-aligned to 6 characters. For negative and large values
     * the returned string may be longer.
     */
    fun formatDuration(ns: Long): String {
      val s =
        when {
          ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s "
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java

                }
                int width = line.length() - leadingSpaces.length();
                if (width > max) {
                    log.accept(lines.lastLineNumber, "snippet line should be no more than [" + max + "] characters but was [" + width + "]");
                }
            }
        }
    
        private static class LineItr implements Iterator<String> {
            private final Iterator<String> delegate;
            private int lastLineNumber;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Splitter.java

      public Splitter trimResults() {
        return trimResults(CharMatcher.whitespace());
      }
    
      /**
       * Returns a splitter that behaves equivalently to {@code this} splitter, but removes all leading
       * or trailing characters matching the given {@code CharMatcher} from each returned substring. For
       * example, {@code Splitter.on(',').trimResults(CharMatcher.is('_')).split("_a ,_b_ ,c__")}
       * returns an iterable containing {@code ["a ", "b_ ", "c"]}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  4. cmd/api-headers.go

    		bugLogIf(GlobalContext, err)
    		return nil
    	}
    	return buf.Bytes()
    }
    
    // Use this encodeResponseList() to support control characters
    // this function must be used by only ListObjects() for objects
    // with control characters, this is a specialized extension
    // to support AWS S3 compatible behavior.
    //
    // Do not use this function for anything other than ListObjects()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. internal/config/errors.go

    		"Please provide correct credentials",
    		`Access key length should be at least 3, and secret key length at least 8 characters`,
    	)
    
    	ErrInvalidRootUserCredentials = newErrFn(
    		"Invalid credentials",
    		"Please provide correct credentials",
    		EnvRootUser+` length should be at least 3, and `+EnvRootPassword+` length at least 8 characters`,
    	)
    
    	ErrMissingEnvCredentialRootUser = newErrFn(
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/escape/Platform.java

        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

            // Default constructor
        }
    
        private int pathConsumed;
        private int numReferrals;
        private int tflags;
        private Referral[] referrals;
    
        /**
         * Get the number of characters consumed from the path
         *
         * @return the pathConsumed
         */
        public final int getPathConsumed() {
            return this.pathConsumed;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        }
    
        @Test
        public void testUnicodeEncoding() {
            // Test Unicode string encoding
            String msg = "\u00A1\u00A2"; // two Unicode characters
            byte[] encoded = encodeUnicode(msg);
            assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes");
    
            // Verify little-endian encoding
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Splitter.java

      public Splitter trimResults() {
        return trimResults(CharMatcher.whitespace());
      }
    
      /**
       * Returns a splitter that behaves equivalently to {@code this} splitter, but removes all leading
       * or trailing characters matching the given {@code CharMatcher} from each returned substring. For
       * example, {@code Splitter.on(',').trimResults(CharMatcher.is('_')).split("_a ,_b_ ,c__")}
       * returns an iterable containing {@code ["a ", "b_ ", "c"]}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Reads all characters from a file into a {@link String}, using the given character set.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return a string containing all the characters from the file
       * @throws IOException if an I/O error occurs
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
Back to Top