Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,627 for indexOf (0.09 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

            override fun get(index: Int) = Protocol.HTTP_1_1
    
            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
              if (element == null) throw NullPointerException()
              return super.indexOf(element)
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            comparable = new ComparableVersion(version);
    
            int index = version.indexOf('-');
    
            String part1;
            String part2 = null;
    
            if (index < 0) {
                part1 = version;
            } else {
                part1 = version.substring(0, index);
                part2 = version.substring(index + 1);
            }
    
            if (part2 != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            protected String getBaseFileName(final String filePath) {
                final String fileName = new File(filePath).getName();
                int colonIndex = fileName.indexOf(":");
                if (colonIndex == -1) {
                    colonIndex = fileName.indexOf("\\\\"); // Windows SMB
                }
                final int backslashIndex = fileName.lastIndexOf("\\");
                if (colonIndex > -1 && backslashIndex > -1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

    import javax.net.ssl.SSLSocket
    import okhttp3.ConnectionSpec.Builder
    import okhttp3.internal.concat
    import okhttp3.internal.effectiveCipherSuites
    import okhttp3.internal.hasIntersection
    import okhttp3.internal.indexOf
    import okhttp3.internal.intersect
    
    /**
     * Specifies configuration for the socket connection that HTTP traffic travels through. For `https:`
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/SingletonContext.java

            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if ( pkgs == null ) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            }
            else if ( pkgs.indexOf("jcifs") == -1 ) {
                pkgs += "|jcifs";
                System.setProperty("java.protocol.handler.pkgs", pkgs);
            }
        }
    
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            List<String> order = new ArrayList<>();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
                order.add(index, s);
              }
            }
            return order;
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

         * or cache.
         */
        internal fun addLenient(line: String) =
          apply {
            val index = line.indexOf(':', 1)
            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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        /**
         *
         */
        public ArtifactMetadata(String name) {
            if (name == null) {
                return;
            }
            int ind1 = name.indexOf(':');
            int ind2 = name.lastIndexOf(':');
    
            if (ind1 == -1 || ind2 == -1) {
                return;
            }
    
            this.groupId = name.substring(0, ind1);
            if (ind1 == ind2) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/PipeTest.java

                    .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\lsarpc]", withTestNTLMCredentials(getContext())) ) {
                String server = handle.getServerWithDfs();
                int dot = server.indexOf('.');
                if ( dot > 0 && Character.isDigit(server.charAt(0)) == false )
                    server = server.substring(0, dot);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                if (RELEASE_QUALIFIERS.contains(qualifier)) {
                    return String.valueOf(QUALIFIERS.indexOf(""));
                }
    
                int i = QUALIFIERS.indexOf(qualifier);
    
                // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for
                // -1
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top