Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 228 for write1 (0.11 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

                write(buffer.toStringAndRecycle())
            }
        }
    
        private
        fun comma() {
            write(',')
        }
    
        private
        fun documentationLinkFor(section: DocumentationSection) =
            documentationRegistry.documentationLinkFor(section)
    
        private
        fun write(csq: CharSequence) = writer.append(csq)
    
        private
        fun write(c: Char) = writer.append(c)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/encoding/pem/pem.go

    	n, err = l.out.Write(b[0:excess])
    	if err != nil {
    		return
    	}
    
    	n, err = l.out.Write(nl)
    	if err != nil {
    		return
    	}
    
    	return l.Write(b[excess:])
    }
    
    func (l *lineBreaker) Close() (err error) {
    	if l.used > 0 {
    		_, err = l.out.Write(l.line[0:l.used])
    		if err != nil {
    			return
    		}
    		_, err = l.out.Write(nl)
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    func (s *asmState) resetBuf() {
    	max := (cap(s.storage) / s.rate) * s.rate
    	s.buf = s.storage[:0:max]
    }
    
    // Write (via the embedded io.Writer interface) adds more data to the running hash.
    // It never returns an error.
    func (s *asmState) Write(b []byte) (int, error) {
    	if s.state != spongeAbsorbing {
    		panic("sha3: Write after Read")
    	}
    	length := len(b)
    	for len(b) > 0 {
    		if len(s.buf) == 0 && len(b) >= cap(s.buf) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsResourceGenerator.java

                @Override
                public void write(OutputStream outputStream) {
                    String types = callInterceptorTypes.stream()
                        .distinct()
                        .sorted()
                        .collect(Collectors.joining("\n"));
                    try (Writer writer = new OutputStreamWriter(outputStream, StandardCharsets.UTF_8)) {
                        writer.write(types);
                    } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    }
    
    // Decode reads from readers, reconstructs data if needed and writes the data to the writer.
    // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed.
    func (e Erasure) Decode(ctx context.Context, writer io.Writer, readers []io.ReaderAt, offset, length, totalLength int64, prefer []bool) (written int64, derr error) {
    	if offset < 0 || length < 0 {
    		return -1, errInvalidArgument
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModelSideEffectStore.kt

        private
        val valuesStore by lazy {
            val writer = ValueStore.Writer<BuildTreeModelSideEffect> { encoder, value ->
                write(encoder, value)
            }
            val reader = ValueStore.Reader { decoder ->
                read(decoder)
            }
            store.createValueStore(StateType.ModelSideEffects, writer, reader)
        }
    
        fun collectSideEffects(): List<BlockAddress> = entries.toList()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    type Options struct {
    	Writer        Writer
    	Flagset       FlagSet
    	Fetch         Fetcher
    	Sym           Symbolizer
    	Obj           ObjTool
    	UI            UI
    	HTTPServer    func(*HTTPServerArgs) error
    	HTTPTransport http.RoundTripper
    }
    
    // Writer provides a mechanism to write data under a certain name,
    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// authentication checks.
    	HTTPServer    func(args *HTTPServerArgs) error
    	HTTPTransport http.RoundTripper
    }
    
    // Writer provides a mechanism to write data under a certain name,
    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsResourceGenerator.java

                        .distinct()
                        .sorted()
                        .collect(Collectors.joining("\n"));
                    try (Writer writer = new OutputStreamWriter(outputStream, StandardCharsets.UTF_8)) {
                        writer.write(types);
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
            };
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top