Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 408 for startswith (0.15 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        get(redirectSourceUrl)
        val request = redirectSource.takeRequest()
        assertThat(request.headers["Cookie"]).isEqualTo("c=cookie")
        for (header in redirectTarget.takeRequest().headers.names()) {
          if (header.startsWith("Cookie")) {
            fail(header)
          }
        }
      }
    
      @Test
      fun testCookiesSentIgnoresCase() {
        client =
          client
            .newBuilder()
            .cookieJar(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                retValue = url.substring(protocol.length() + 1);
                retValue = decode(retValue);
                // special case: if omitted // on protocol, keep path as is
                if (retValue.startsWith("//")) {
                    retValue = retValue.substring(2);
    
                    if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                                }
                            }
                        } else if (!value.getClass().isPrimitive()
                                && !value.getClass().getName().startsWith("java.")) {
                            processModelNode(value, fullPath, field.getName(), visited);
                        }
                    } catch (Exception e) {
                        // Skip inaccessible or problematic fields
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            bytesRemainingInChunk = socket.source.readHexadecimalUnsignedLong()
            val extensions = socket.source.readUtf8LineStrict().trim()
            if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) {
              throw ProtocolException(
                "expected chunk size and optional extensions" +
                  " but was \"$bytesRemainingInChunk$extensions\"",
              )
            }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  6. src/main/java/org/codelibs/core/io/FileUtil.java

            final Path normalizedPath = pathToCheck.toAbsolutePath().normalize();
            final Path normalizedBase = baseDirectory.toAbsolutePath().normalize();
            return normalizedPath.startsWith(normalizedBase);
        }
    
        /**
         * Validates that a given file is safe and does not attempt path traversal attacks.
         * <p>
         * This is a convenience method that converts File objects to Path and calls
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

        void toString_notEstablished() throws Exception {
            when(gssContext.isEstablished()).thenReturn(false);
            String s = ctx.toString();
            assertTrue(s.startsWith("KERB5["));
            assertTrue(s.contains("src=null"));
        }
    
        @Test
        @DisplayName("toString shows names and mech when established")
        void toString_established_ok() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
                // ----------[ packaging ]----------
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                        String attrValue = attrNode.getNodeValue();
                        if (StringUtil.isNotBlank(attrValue)) {
                            // if starting with www, append a protocol
                            if (attrValue.startsWith("www.")) {
                                attrValue = "http://" + attrValue;
                            }
                            return attrValue;
                        }
                    }
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         */
        public static DcerpcHandle getHandle(final String url, final CIFSContext tc, final boolean unshared)
                throws MalformedURLException, DcerpcException {
            if (url.startsWith("ncacn_np:")) {
                return new DcerpcPipeHandle(url, tc, unshared);
            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
        /**
         * Bind the handle
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top