Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for PutBytes (0.28 sec)

  1. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hasher.java

     */
    public interface Hasher {
        /**
         * Feed a bunch of bytes into the hasher.
         */
        void putBytes(byte[] bytes);
    
        /**
         * Feed a given number of bytes into the hasher from the given offset.
         */
        void putBytes(byte[] bytes, int off, int len);
    
        /**
         * Feed a single byte into the hasher.
         */
        void putByte(byte value);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 11:14:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java

        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (obj == null || obj.getClass() != getClass()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            try {
                transporter.put(putTask);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Override
        public void putBytes(byte[] source, URI relativeTarget) {
            requireNonNull(source, "source is null");
            try {
                Path tempPath = null;
                try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (obj == null || obj.getClass() != getClass()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy

            def name = file.name - '.class'
            def hasher = Hashing.md5().newHasher()
            dir.listFiles().findAll { it.name.startsWith(name) && it.name.endsWith('.class') }.sort().each {
                hasher.putBytes(it.bytes)
            }
            hasher.hash()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/template_test.go

    		},
    	}
    	for _, tt := range tmplTests {
    		t.Run(tt.name, func(t *testing.T) {
    			outbytes, err := ParseTemplate(tt.template, tt.data)
    			if tt.errExpected != (err != nil) {
    				t.Errorf(
    					"failed TestParseTemplate:\n\texpected err: %t\n\t  actual: %s",
    					tt.errExpected,
    					err,
    				)
    			}
    			if tt.output != string(outbytes) {
    				t.Errorf(
    					"failed TestParseTemplate:\n\texpected bytes: %s\n\t  actual: %s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

              end = nextOutFrame.start
              truncated = false
            } else {
              end = outBytes.size.toLong()
              truncated = nextOutFrame.truncated
            }
    
            // Write a frame.
            val length = (end - start).toInt()
            outputStream.write(outBytes, start.toInt(), length)
    
            // If the last frame was truncated, immediately close the connection.
            if (truncated) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top