Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for toMatch (0.26 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import okhttp3.Cache
    import okhttp3.Dns
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
        @Nonnull
        @Override
        public List<DependencyCoordinate> getDependencies() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java

        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new LocalSnapshotMetadata(metadata, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new LocalSnapshotMetadata(metadata, path, timestamp);
        }
    
        public Object getKey() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileSource(Path path) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
                trackingDir = dir.getParentFile().toPath().resolve(".tracking");
            } else {
                trackingDir = event.getFile().getParentFile().toPath().resolve(".tracking");
            }
    
            String baseName;
            String ext = missing ? ".miss" : ".dep";
            Path trackingFile = null;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

                }
            } else {
                File pluginXml = new File(extensionJar, getExtensionDescriptorLocation());
    
                if (pluginXml.canRead()) {
                    try (InputStream is = Files.newInputStream(pluginXml.toPath())) {
                        extensionDescriptor = build(is);
                    }
                }
            }
    
            return extensionDescriptor;
        }
    
        /**
         * @since 3.3.0
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okhttp3.internal.toCanonicalHost
    import okio.Buffer
    import okio.FileSystem
    import okio.GzipSource
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.use
    import org.junit.jupiter.api.Test
    
    class PublicSuffixDatabaseTest {
      private val publicSuffixDatabase = PublicSuffixDatabase()
    
      @Test fun longestMatchWins() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

         * TODO share with DefaultPluginMappingManager.
         */
        protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException {
    
            try (InputStream in = Files.newInputStream(mappingFile.toPath())) {
                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.6K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.Test
    
    class StringprepTest {
      private val reader = StringprepTablesReader(FileSystem.RESOURCES)
      private val rfc3491 = reader.readNameprep("/okhttp3/internal/idn".toPath())
      private val stringPrep =
        Stringprep(
          unassigned = RangeListCodePointSet(listOf()),
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top