Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,106 for writes (0.28 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/LocalComponentCache.java

        /**
         * Loads cached dependency resolution metadata for the given project, if available,
         * or else runs the given function to create it and then writes the result to the cache.
         */
        LocalComponentGraphResolveState computeIfAbsent(ProjectState project, Function<ProjectState, LocalComponentGraphResolveState> factory);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/MessageSerializer.java

         * content from the given input stream.
         */
        Decoder newDecoder(InputStream inputStream);
    
        /**
         * Creates an encoder that writes the given output stream. Note that the implementation may perform buffering.
         */
        FlushableEncoder newEncoder(OutputStream outputStream);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy

            result.add(new TestMethodResult(4, "some skipped test", SKIPPED, 10, startTime + 45))
    
            provider.writeAllOutput(1, StdOut, _) >> { args -> args[2].write("1st output message\n2nd output message\n") }
            provider.writeAllOutput(1, StdErr, _) >> { args -> args[2].write("err") }
    
            when:
            def xml = getXml(result, options)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:05 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockStore.java

        <T extends BlockPayload> T read(BlockPointer pos, Class<T> payloadType);
    
        /**
         * Writes a block to this store, adding the block if required.
         */
        void write(BlockPayload block);
    
        /**
         * Adds a new block to this store. Allocates space for the block, but does not write the contents of the block
         * until {@link #write(BlockPayload)} is called.
         */
        void attach(BlockPayload block);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/init.go

    	"cmd/go/internal/modload"
    	"context"
    )
    
    var cmdInit = &base.Command{
    	UsageLine: "go mod init [module-path]",
    	Short:     "initialize new module in current directory",
    	Long: `
    Init initializes and writes a new go.mod file in the current directory, in
    effect creating a new module rooted at the current directory. The go.mod file
    must not already exist.
    
    Init accepts one optional argument, the module path for the new module. If the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageArtifactsCacheTest.groovy

            when:
            twoStageArtifactsCache.get(key)
    
            then:
            1 * writeCache.get(key) >> Stub(AbstractArtifactsCache.ModuleArtifactsCacheEntry)
            0 * readCache.get(key)
        }
    
        def "writes are delegated to the writable cache"() {
            def entry = Stub(AbstractArtifactsCache.ModuleArtifactsCacheEntry)
            when:
            twoStageArtifactsCache.store(key, entry)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/hash/hash.go

    // decode data written with any previously released version,
    // subject to issues such as security fixes.
    // See the Go compatibility document for background: https://golang.org/doc/go1compat
    type Hash interface {
    	// Write (via the embedded io.Writer interface) adds more data to the running hash.
    	// It never returns an error.
    	io.Writer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/encoding/binary/binary.go

    // with blank (_) field names.
    func Write(w io.Writer, order ByteOrder, data any) error {
    	// Fast path for basic types and slices.
    	if n, bs := intDataSize(data); n != 0 {
    		if bs == nil {
    			bs = make([]byte, n)
    			encodeFast(bs, order, data)
    		}
    
    		_, err := w.Write(bs)
    		return err
    	}
    
    	// Fallback to reflect-based encoding.
    	v := reflect.Indirect(reflect.ValueOf(data))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/PluginXmlFactory.java

     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    
    /**
     * Reads and writes a {@link PluginDescriptor} object to/from XML.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top