- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 914 for readFn (0.03 sec)
-
internal/bucket/lifecycle/lifecycle.go
lc.Rules[i].ID = uuid.New().String() } } return &lc, nil } // ParseLifecycleConfig - parses data in given reader to Lifecycle. func ParseLifecycleConfig(reader io.Reader) (*Lifecycle, error) { var lc Lifecycle if err := xml.NewDecoder(reader).Decode(&lc); err != nil { return nil, err } return &lc, nil } // Validate - validates the lifecycle configuration
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 03 06:45:06 UTC 2025 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
@GwtIncompatible public final class Files { private Files() {} /** * Returns a buffered reader that reads from a file using the given character set. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}. * * @param file the file to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} forRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
internal/bucket/replication/replication.go
} // Maximum 2MiB size per replication config. const maxReplicationConfigSize = 2 << 20 // ParseConfig parses ReplicationConfiguration from xml func ParseConfig(reader io.Reader) (*Config, error) { config := Config{} if err := xml.NewDecoder(io.LimitReader(reader, maxReplicationConfigSize)).Decode(&config); err != nil { return nil, err } // By default, set replica modification to enabled if unset. for i := range config.Rules {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} @Override protected Long peekKey() throws IOException { do { if (readn(this.in, this.sbuf, 0, 4) < 4) { return null; } } while (this.sbuf[0] == (byte) 0x85); /* Dodge NetBIOS keep-alive */ /* read smb header */ if (readn(this.in, this.sbuf, 4, SmbConstants.SMB1_HEADER_LENGTH) < SmbConstants.SMB1_HEADER_LENGTH) { return null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
Then we can test that it is used. ## Reading a `.env` file { #reading-a-env-file } If you have many settings that possibly change a lot, maybe in different environments, it might be useful to put them on a file and then read them from it as if they were environment variables.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 11.2K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
@GwtIncompatible public final class Files { private Files() {} /** * Returns a buffered reader that reads from a file using the given character set. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}. * * @param file the file to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} forRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_config.elevate_word/elevate_word.json
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 471 bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
} } @Override public Settings read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { InputSource source = (InputSource) options.get(InputSource.class.getName()); return new Settings(new SettingsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Should read 10 bytes assertEquals(10, result); // Check the values were parsed correctly assertEquals(1, response.getSid()); assertEquals(5, response.getNumEntries()); assertTrue(response.isEndOfSearch()); } @Test void testReadDataWireFormat_emptyBuffer() throws Exception { // Test reading data from an empty bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)