- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 1,384 for Header (0.05 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
LOGGER.warn("The {} file does not exist. The --resume / -r feature will not work.", path); return properties; } try (Reader reader = Files.newBufferedReader(path)) { properties.load(reader); } catch (IOException e) { LOGGER.warn("Unable to read {}. The --resume / -r feature will not work.", path); } return properties; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
it.configure(dependencies.components, configurations) } } fun readCapabilities(source: File): List<CapabilitySpec> { JsonReader(source.reader(Charsets.UTF_8)).use { reader -> reader.isLenient = true return Gson().fromJson(reader) } } inline fun <reified T> Gson.fromJson(json: JsonReader): T = this.fromJson(json, object : TypeToken<T>() {}.type)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 05 20:15:18 UTC 2024 - 9.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
override fun close() { closed.set(true) super.close() } }.buffer() } } val reader = body.charStream() assertThat(reader.read()).isEqualTo('h'.code) reader.close() assertThat(closed.get()).isTrue() } @Test fun sourceSeesBom() { val body = "efbbbf68656c6c6f".decodeHex().toResponseBody()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
} public interface ReaderSupplier { Reader open() throws IOException; } /** * @deprecated use {@link #build(ReaderSupplier)} */ @Deprecated public PluginDescriptor build(Reader reader) throws PlexusConfigurationException { return build(reader, null); } /** * @deprecated use {@link #build(ReaderSupplier, String)} */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
} @Override public String getSinkContents() throws IOException { Path file = getPath(); try (Reader reader = java.nio.file.Files.newBufferedReader(file, UTF_8)) { StringBuilder builder = new StringBuilder(); for (int c = reader.read(); c != -1; c = reader.read()) { builder.append((char) c); } return builder.toString(); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
Path path = request.getPath(); URL url = request.getURL(); Reader reader = request.getReader(); InputStream inputStream = request.getInputStream(); if (path == null && url == null && reader == null && inputStream == null) { throw new IllegalArgumentException("path, url, reader or inputStream must be non null"); } try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
package deadlineconn import ( "net" "time" ) const updateInterval = 250 * time.Millisecond // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout. type DeadlineConn struct { net.Conn readDeadline time.Duration // sets the read deadline on a connection. readSetAt time.Time
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 17:40:11 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
func (v Versioning) PrefixesExcluded() bool { return len(v.ExcludedPrefixes) > 0 || v.ExcludeFolders } // ParseConfig - parses data in given reader to VersioningConfiguration. func ParseConfig(reader io.Reader) (*Versioning, error) { var v Versioning if err := xml.NewDecoder(reader).Decode(&v); err != nil { return nil, err } if err := v.Validate(); err != nil { return nil, err } return &v, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
} /** * Returns an {@code InputStream} that decodes base-encoded input from the specified {@code * Reader}. The returned stream throws a {@link DecodingException} upon decoding-specific errors. */ @J2ktIncompatible @GwtIncompatible // Reader,InputStream public abstract InputStream decodingStream(Reader reader); /** * Returns a {@code ByteSource} that reads base-encoded bytes from the specified {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 41.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
return read(Files.newInputStream(input.toPath()), options); } public Metadata read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { return new Metadata(new MetadataStaxReader().read(in, isStrict(options))); } catch (XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0)