- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,635 for writer (0.06 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
val newMaxFrameSize = 16777215 val writer = Http2Writer(Buffer(), true) writer.applyAndAckSettings(Settings().set(Settings.MAX_FRAME_SIZE, newMaxFrameSize)) assertThat(writer.maxDataLength()).isEqualTo(newMaxFrameSize) writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE) } @Test fun streamIdHasReservedBit() { val writer = Http2Writer(Buffer(), true)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
} } @Override public void write(File output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException { write(output, options, model.getDelegate()); } @Override public void write(Writer output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException { write(output, options, model.getDelegate()); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/metacache-stream.go
} return nil } return &w } // write one or more objects to the stream in order. // It is favorable to send as many objects as possible in a single write, // but no more than math.MaxUint32 func (w *metacacheWriter) write(objs ...metaCacheEntry) error { if w == nil { return errors.New("metacacheWriter: nil writer") } if len(objs) == 0 { return nil } if w.creator != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
.build()); } default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException { write(XmlWriterRequest.<T>builder().content(content).writer(writer).build()); } void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException; /** * Simply parse the given xml string. * * @param xml the input xml string
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
} try { if (writer != null) { new PluginDescriptorStaxWriter().write(writer, content); } else if (outputStream != null) { new PluginDescriptorStaxWriter().write(outputStream, content); } else { try (OutputStream os = Files.newOutputStream(path)) {
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/ioutil/ioutil_test.go
} writer.Write(nil) if !writer.HasWritten() { t.Error("WriteOnCloser must be marked as HasWritten") } writer = WriteOnClose(io.Discard) writer.Close() if !writer.HasWritten() { t.Error("WriteOnCloser must be marked as HasWritten") } } // Test for AppendFile. func TestAppendFile(t *testing.T) { f, err := os.CreateTemp("", "") if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
assertArgumentNotNull("props", props); assertArgumentNotNull("writer", writer); try { props.store(writer, comments); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * 指定のエンコーディングでファイルを書き出して{@link Properties}をストアします(例外処理はラップします)。 *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertFalse(source.wasStreamClosed()); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertTrue(source.wasStreamClosed()); assertEquals(STRING, writer.toString()); } public void testLines() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* . * * @throws IOException */ @Test public void testStorePropertiesWriterString() throws IOException { final Properties outProperties = new Properties(); outProperties.setProperty("a", "A"); final File file = tempFolder.newFile("hoge.properties"); final Writer writer = WriterUtil.create(file);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
"istio.io/istio/pkg/log" ) type flagState interface { run(out io.Writer) error } var ( _ flagState = (*resetState)(nil) _ flagState = (*logLevelState)(nil) _ flagState = (*stackTraceLevelState)(nil) _ flagState = (*getAllLogLevelsState)(nil) ) type resetState struct { client *ControlzClient } func (rs *resetState) run(_ io.Writer) error { const ( defaultOutputLevel = "info"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0)