Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for readHuff (0.33 sec)

  1. src/math/rand/v2/chacha8.go

    func (c *ChaCha8) Read(p []byte) (n int, err error) {
    	if c.readLen > 0 {
    		n = copy(p, c.readBuf[len(c.readBuf)-c.readLen:])
    		c.readLen -= n
    		p = p[n:]
    	}
    	for len(p) >= 8 {
    		byteorder.LePutUint64(p, c.Uint64())
    		p = p[8:]
    		n += 8
    	}
    	if len(p) > 0 {
    		byteorder.LePutUint64(c.readBuf[:], c.Uint64())
    		n += copy(p, c.readBuf[:])
    		c.readLen = 8 - len(p)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/math/rand/v2/chacha8_test.go

    	"readbuf:\x06j\xa6\"\xaf`\x11chacha8:\x00\x00\x00\x00\x00\x00\x00\x02ABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
    	"readbuf:\x05\xa6\"\xaf`\x11chacha8:\x00\x00\x00\x00\x00\x00\x00\x02ABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
    	"readbuf:\x04\"\xaf`\x11chacha8:\x00\x00\x00\x00\x00\x00\x00\x02ABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
    	"readbuf:\x03\xaf`\x11chacha8:\x00\x00\x00\x00\x00\x00\x00\x02ABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 55K bytes
    - Viewed (0)
  3. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/GradleWorkerMain.java

            for (int i = 0; i < sharedPackagesCount; i++) {
                sharedPackages.add(instr.readUTF());
            }
    
            // Read worker implementation classpath
            int classPathLength = instr.readInt();
            URL[] implementationClassPath = new URL[classPathLength];
            for (int i = 0; i < classPathLength; i++) {
                String url = instr.readUTF();
                implementationClassPath[i] = new URL(url);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/BootstrapSecurityManager.java

                int count = inputStream.readInt();
                StringBuilder classpathStr = new StringBuilder();
                for (int i = 0; i < count; i++) {
                    String entry = inputStream.readUTF();
                    File file = new File(entry);
                    addUrlMethod.invoke(systemClassLoader, file.toURI().toURL());
                    if (i > 0) {
                        classpathStr.append(File.pathSeparator);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/crypto/tls/quic.go

    	}
    	c.quic.readbuf = data
    	<-c.quic.signalc
    	_, ok := <-c.quic.blockedc
    	if ok {
    		// The handshake goroutine is waiting for more data.
    		return nil
    	}
    	// The handshake goroutine has exited.
    	c.handshakeMutex.Lock()
    	defer c.handshakeMutex.Unlock()
    	c.hand.Write(c.quic.readbuf)
    	c.quic.readbuf = nil
    	for q.conn.hand.Len() >= 4 && q.conn.handshakeErr == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

                        oos.writeUTF("42")
                    }
    
                    @Override
                    void readExternal(java.io.ObjectInput ois) {
                        value = ois.readUTF()
                    }
                }
    
                class SomeTask extends DefaultTask {
                    private final SomeBean bean = new SomeBean()
    
                    @TaskAction
                    void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

            return inputStream.readBoolean();
        }
    
        @Override
        public String readString() throws EOFException, IOException {
            return inputStream.readUTF();
        }
    
        @Override
        public byte readByte() throws IOException {
            return (byte) (inputStream.readByte() & 0xff);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            }
    
            private
            fun readObject(objectInputStream: ObjectInputStream) {
                markRead("subclass")
                stringValue = objectInputStream.readUTF()
                writeOrder = objectInputStream.readObject().uncheckedCast()
            }
        }
    
        class SerializableRecursiveWriteReplaceBean(var value: Any? = null) : Serializable {
    
            @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

            }
        }
    
        override fun readObjectOverride(): Any? = readContext.runReadOperation {
            read()
        }
    
        override fun readInt(): Int = readContext.readInt()
    
        override fun readUTF(): String = readContext.readString()
    
        override fun read(b: ByteArray): Int = inputStream.read(b)
    
        override fun markSupported(): Boolean = inputStream.markSupported()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java

            return desc.forClass();
        }
    
        private Class<?> readClass() throws IOException, ClassNotFoundException {
            short id = readShort();
            String className = readUTF();
            if (id == SAME_CLASSLOADER_TOKEN) {
                return super.lookupClass(className);
            }
            ClassLoaderDetails classLoader = classLoaderDetails.get(id);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top