Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for WriteByte (0.88 sec)

  1. android/guava/src/com/google/common/hash/BloomFilter.java

        // 1 big endian int, the number of longs in our bitset
        // N big endian longs of our bitset
        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
        dout.writeByte(UnsignedBytes.checkedCast(numHashFunctions)); // note: checked at the c'tor
        dout.writeInt(bits.data.length());
        for (int i = 0; i < bits.data.length(); i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    	}
    	writeString(wi.Module)
    	writeString(wi.Name)
    	writeUint32(uint32(len(wi.Params)))
    	for _, f := range wi.Params {
    		writeByte(byte(f.Type))
    		writeInt64(f.Offset)
    	}
    	writeUint32(uint32(len(wi.Results)))
    	for _, f := range wi.Results {
    		writeByte(byte(f.Type))
    		writeInt64(f.Offset)
    	}
    
    	return &sym
    }
    
    type WasmField struct {
    	Type WasmFieldType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            where:
            mode << [Shared, Exclusive]
        }
    
        def "fails to acquire lock on lock file with unknown version"() {
            testFileLock.withDataOutputStream {
                it.writeByte(125)
            }
    
            when:
            createLock(mode)
    
            then:
            thrown(IllegalStateException)
    
            where:
            mode << [Shared, Exclusive]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/BloomFilter.java

        // 1 big endian int, the number of longs in our bitset
        // N big endian longs of our bitset
        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
        dout.writeByte(UnsignedBytes.checkedCast(numHashFunctions)); // note: checked at the c'tor
        dout.writeInt(bits.data.length());
        for (int i = 0; i < bits.data.length(); i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/testflag.go

    	switch {
    	case !f.off && !f.explicit && len(f.flags) == 0:
    		return "all"
    	case f.off:
    		return "off"
    	}
    
    	var buf strings.Builder
    	for i, f := range f.flags {
    		if i > 0 {
    			buf.WriteByte(',')
    		}
    		buf.WriteString(f)
    	}
    	return buf.String()
    }
    
    func (f *vetFlag) Set(value string) error {
    	switch {
    	case value == "":
    		*f = vetFlag{flags: defaultVetFlags}
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/amd64/versions_test.go

    		b, err := r.ReadByte()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			t.Fatal("can't read")
    		}
    		if physicalEdits[a] {
    			b = 0xcc // INT3 opcode
    			done++
    		}
    		err = w.WriteByte(b)
    		if err != nil {
    			t.Fatal("can't write")
    		}
    		a++
    	}
    	if done != len(physicalEdits) {
    		t.Fatal("physical edits remaining")
    	}
    	w.Flush()
    	f.Close()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/typeset.go

    	switch {
    	case s.IsEmpty():
    		return "∅"
    	case s.IsAll():
    		return "𝓤"
    	}
    
    	hasMethods := len(s.methods) > 0
    	hasTerms := s.hasTerms()
    
    	var buf strings.Builder
    	buf.WriteByte('{')
    	if s.comparable {
    		buf.WriteString("comparable")
    		if hasMethods || hasTerms {
    			buf.WriteString("; ")
    		}
    	}
    	for i, m := range s.methods {
    		if i > 0 {
    			buf.WriteString("; ")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteStreams.java

          try {
            output.writeBoolean(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeByte(int v) {
          try {
            output.writeByte(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeBytes(String s) {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteStreams.java

          try {
            output.writeBoolean(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeByte(int v) {
          try {
            output.writeByte(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeBytes(String s) {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

            override fun writeBytes(bytes: ByteArray?): Unit =
                undefined()
    
            override fun writeBytes(bytes: ByteArray?, offset: Int, count: Int): Unit =
                undefined()
    
            override fun writeByte(value: Byte): Unit =
                undefined()
    
            override fun writeBinary(bytes: ByteArray?): Unit =
                undefined()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top