Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 402 for shastring (0.06 seconds)

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

        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
    
        // reset to the mark and then read the rest
        reader.reset();
        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
      }
    
      public void testIllegalArguments() throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                    .filter(m -> m.getName().startsWith("merge"))
                    .filter(m -> {
                        String baseName = m.getName().substring(5 /* merge */);
                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
                            Type returnType = m.getParameterTypes()[0]
                                    .getMethod("get" + entity)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    state = 2;
                case 2:
                    if (ch == '[') {
                        String server = str.substring(mark, si).trim();
                        if (server.length() == 0) {
                            server = "127.0.0.1";
                        }
                        binding = new DcerpcBinding(proto, str.substring(mark, si));
                        mark = si + 1;
                        state = 5;
                    }
                    break;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\""))
                }
                if (line.startsWith("\"buildTime\"")) {
                    var date = line.substring(line.indexOf("\"", 12) + 1, line.lastIndexOf("\""))
                    date = date.substring(0, 4) + "-" + date.substring(4, 6) + "-" + date.substring(6, 8)
                    versions[version!!] = date
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

              pos = value.indexOf('"', pos)
              parameter = value.substring(parameterStart, pos)
              pos++ // Consume '"' close quote (if necessary).
            } else {
              // Unquoted string.
              val parameterStart = pos
              pos = value.indexOfElement(",;", pos)
              parameter = value.substring(parameterStart, pos).trim()
            }
          }
    
          when {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

        private val includePackagePatterns: List<Pattern> by lazy {
            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
                }
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 12 23:20:08 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

                } else {
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if (index == -1) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    }
                } else { /* Basic */
                    final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = index != -1 ? auth.substring(0, index) : auth;
                    final String password = index != -1 ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if (index == -1) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          // Parse response code like "200". Always 3 digits.
          if (statusLine.length < codeStart + 3) {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
          val code =
            statusLine.substring(codeStart, codeStart + 3).toIntOrNull()
              ?: throw ProtocolException(
                "Unexpected status line: $statusLine",
              )
    
          // Parse an optional response message like "OK" or "Not Modified". If it
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

            when {
              index != -1 -> {
                addLenient(line.substring(0, index), line.substring(index + 1))
              }
              line[0] == ':' -> {
                // Work around empty header names and header names that start with a colon (created by old
                // broken SPDY versions of the response cache).
                addLenient("", line.substring(1)) // Empty header name.
              }
              else -> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top