Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,266 for write1 (0.17 sec)

  1. src/io/io.go

    	Read(p []byte) (n int, err error)
    }
    
    // Writer is the interface that wraps the basic Write method.
    //
    // Write writes len(p) bytes from p to the underlying data stream.
    // It returns the number of bytes written from p (0 <= n <= len(p))
    // and any error encountered that caused the write to stop early.
    // Write must return a non-nil error if it returns n < len(p).
    // Write must not modify the slice data, even temporarily.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    	p.mu.Lock()
    	defer p.mu.Unlock()
    	delete(p.m, value)
    }
    
    // WriteTo writes a pprof-formatted snapshot of the profile to w.
    // If a write to w returns an error, WriteTo returns that error.
    // Otherwise, WriteTo returns nil.
    //
    // The debug parameter enables additional output.
    // Passing debug=0 writes the gzip-compressed protocol buffer described
    // in https://github.com/google/pprof/tree/main/proto#overview.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. internal/s3select/message.go

    	}
    	result := writer.write(newRecordsMessage(writer.payloadBuffer[0:writer.payloadBufferIndex]))
    	if result {
    		atomic.AddInt64(&writer.bytesReturned, int64(writer.payloadBufferIndex))
    		writer.payloadBufferIndex = 0
    	}
    	return result
    }
    
    // Finish is the last call to the message writer - it sends any
    // remaining record payload, then sends statistics and finally the end
    // message.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  4. platforms/software/publish/src/test/groovy/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriterTest.groovy

                TestUtil.checksumService
            ).writeTo(writer, spec)
        }
    
        def "fails to write file for component with no variants"() {
            def writer = new StringWriter()
            def component = Stub(TestComponent)
            def publication = publication(component, id)
    
            when:
            writeTo(writer, publication, [publication])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                private
                val writer = HtmlReportWriter(hashingStream.writer())
    
                init {
                    executor.submit {
                        Thread.currentThread().contextClassLoader = groovyJsonClassLoader
                        writer.beginHtmlReport()
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/cmd/internal/test2json/test2json.go

    )
    
    // NewConverter returns a "test to json" converter.
    // Writes on the returned writer are written as JSON to w,
    // with minimal delay.
    //
    // The writes to w are whole JSON events ending in \n,
    // so that it is safe to run multiple tests writing to multiple converters
    // writing to a single underlying output stream w.
    // As long as the underlying output w can handle concurrent writes
    // from multiple goroutines, the result will be a JSON stream
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  7. src/runtime/profbuf.go

    //
    // If the writer gets ahead of the reader, so that the buffer fills,
    // future writes are discarded and replaced in the output stream by an
    // overflow entry, which has size 2+hdrsize+1, time set to the time of
    // the first discarded write, a header of all zeroed words, and a "stack"
    // containing one word, the number of discarded writes.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java

    import java.io.IOException;
    import java.io.Writer;
    import java.util.ArrayDeque;
    import java.util.Deque;
    
    /**
     * <p>A streaming markup writer. Encodes characters and CDATA. Provides only basic state validation, and some simple indentation.</p>
     *
     * <p>This class also is-a {@link Writer}, and any characters written to this writer will be encoded as appropriate. Note, however, that
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 12K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer.go

    	r.isFull = false
    	return b, r.readErr(true)
    }
    
    // Write writes len(p) bytes from p to the underlying buf.
    // It returns the number of bytes written from p (0 <= n <= len(p))
    // and any error encountered that caused the write to stop early.
    // If blocking n < len(p) will be returned only if an error occurred.
    // Write returns a non-nil error if it returns n < len(p).
    // Write will not modify the slice data, even temporarily.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
          if (associatedStreamId == 0) {
            writer.headers(outFinished, streamId, requestHeaders)
          } else {
            require(!client) { "client streams shouldn't have associated stream IDs" }
            // HTTP/2 has a PUSH_PROMISE frame.
            writer.pushPromise(associatedStreamId, streamId, requestHeaders)
          }
        }
    
        if (flushHeaders) {
          writer.flush()
        }
    
        return stream
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top