Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 770 for dwrite (0.23 sec)

  1. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/RandomAccessFileOutputStream.java

            this.file = file;
        }
    
        @Override
        public void write(int i) throws IOException {
            file.write(i);
        }
    
        @Override
        public void write(byte[] bytes) throws IOException {
            file.write(bytes);
        }
    
        @Override
        public void write(byte[] bytes, int offset, int length) throws IOException {
            file.write(bytes, offset, length);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. internal/crypto/key.go

    		mac := hmac.New(sha256.New, extKey)
    		mac.Write(sealedKey.IV[:])
    		mac.Write([]byte(domain))
    		mac.Write([]byte(SealAlgorithm))
    		mac.Write([]byte(path.Join(bucket, object))) // use path.Join for canonical 'bucket/object'
    		unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}
    	case InsecureSealAlgorithm:
    		sha := sha256.New()
    		sha.Write(extKey)
    		sha.Write(sealedKey.IV[:])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_cache.go

    	h := hash.New()
    	h.WriteString(t.clusterName)
    	h.Write(Separator)
    	h.WriteString(t.proxyVersion)
    	h.Write(Separator)
    	h.WriteString(util.LocalityToString(t.locality))
    	h.Write(Separator)
    	h.WriteString(t.proxyClusterID)
    	h.Write(Separator)
    	h.WriteString(strconv.FormatBool(t.proxySidecar))
    	h.Write(Separator)
    	h.WriteString(strconv.FormatBool(t.http2))
    	h.Write(Separator)
    	h.WriteString(strconv.FormatBool(t.downstreamAuto))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/IncrementalBuildOutputOriginIntegrationTest.groovy

            firstBuildCacheKey != null
            originBuildInvocationId(":write") == null
    
            when:
            succeeds "write"
    
            then:
            executed ":write"
            def secondBuildId = buildInvocationId
            firstBuildId != secondBuildId
            with(origin(":write")) {
                buildInvocationId == firstBuildId
                buildCacheKey == firstBuildCacheKey
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:27:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. 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)
  7. maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

        }
    
        /**
         * Method write.
         *
         * @param writer   a writer object
         * @param metadata a Metadata object
         * @throws java.io.IOException java.io.IOException if any
         */
        public void write(Writer writer, Metadata metadata) throws java.io.IOException {
            try {
                delegate.write(writer, metadata.getDelegate());
            } catch (XMLStreamException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/dist/testjson.go

    	"errors"
    	"fmt"
    	"io"
    	"sync"
    	"time"
    )
    
    // lockedWriter serializes Write calls to an underlying Writer.
    type lockedWriter struct {
    	lock sync.Mutex
    	w    io.Writer
    }
    
    func (w *lockedWriter) Write(b []byte) (int, error) {
    	w.lock.Lock()
    	defer w.lock.Unlock()
    	return w.w.Write(b)
    }
    
    // testJSONFilter is an io.Writer filter that replaces the Package field in
    // test2json output.
    type testJSONFilter struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/io/pipe_test.go

    	. "io"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    func checkWrite(t *testing.T, w Writer, data []byte, c chan int) {
    	n, err := w.Write(data)
    	if err != nil {
    		t.Errorf("write: %v", err)
    	}
    	if n != len(data) {
    		t.Errorf("short write: %d != %d", n, len(data))
    	}
    	c <- 0
    }
    
    // Test a single read/write pair.
    func TestPipe1(t *testing.T) {
    	c := make(chan int)
    	r, w := Pipe()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/runtime/time_fake.go

    	return faketime / 1e9, int32(faketime % 1e9), faketime
    }
    
    // write is like the Unix write system call.
    // We have to avoid write barriers to avoid potential deadlock
    // on write calls.
    //
    //go:nowritebarrierrec
    func write(fd uintptr, p unsafe.Pointer, n int32) int32 {
    	if !(fd == 1 || fd == 2) {
    		// Do an ordinary write.
    		return write1(fd, p, n)
    	}
    
    	// Write with the playback header.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top