Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 104 for writeInt8 (0.14 sec)

  1. cmd/local-locker_gen.go

    	err = en.Append(0x83, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Total)
    	if err != nil {
    		err = msgp.WrapError(err, "Total")
    		return
    	}
    	// write "Writes"
    	err = en.Append(0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Writes)
    	if err != nil {
    		err = msgp.WrapError(err, "Writes")
    		return
    	}
    	// write "Reads"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

      fun inflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          inflater.reset()
        }
    
        deflatedBytes.writeAll(buffer)
        deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION)
    
        val totalBytesToRead = inflater.bytesRead + deflatedBytes.size
    
        // We cannot read all, as the source does not close.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      fun allocate(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeInt(it.toInt()).readByteArray(),
            )
          }
      }
    
      /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65].  */
      fun allocateIpv6(count: Int): List<InetAddress> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/FilteringClassLoaderSpecSerializer.java

            encodeStrings(encoder, spec.getResourcePrefixes());
        }
    
        private void encodeStrings(Encoder encoder, Set<String> strings) throws Exception {
            encoder.writeInt(strings.size());
            for (String string : strings) {
                encoder.writeString(string);
            }
        }
    
        @Override
        public FilteringClassLoader.Spec read(Decoder decoder) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. internal/bucket/replication/datatypes_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = Type(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z Type) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteInt(int(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z Type) MarshalMsg(b []byte) (o []byte, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketInetAddress.java

            }
    
            @Override
            public void write(Encoder encoder, SocketInetAddress address) throws Exception {
                writeAddress(encoder, address);
                encoder.writeInt(address.port);
            }
    
            private void writeAddress(Encoder encoder, SocketInetAddress address) throws IOException {
                encoder.writeBinary(address.address.getAddress());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractEncoder.java

            throw new UnsupportedOperationException();
        }
    
        @Override
        public void writeSmallInt(int value) throws IOException {
            writeInt(value);
        }
    
        @Override
        public void writeSmallLong(long value) throws IOException {
            writeLong(value);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

                return (char) decoder.readInt();
            }
    
            @Override
            public void write(Encoder encoder, Character value) throws Exception {
                encoder.writeInt(value);
            }
        }
    
        private static class IntegerSerializer extends AbstractSerializer<Integer> {
            @Override
            public Integer read(Decoder decoder) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/index/suffixarray/suffixarray.go

    		ix.sa.int32 = make([]int32, len(data))
    		text_32(data, ix.sa.int32)
    	} else {
    		ix.sa.int64 = make([]int64, len(data))
    		text_64(data, ix.sa.int64)
    	}
    	return ix
    }
    
    // writeInt writes an int x to w using buf to buffer the write.
    func writeInt(w io.Writer, buf []byte, x int) error {
    	binary.PutVarint(buf, int64(x))
    	_, err := w.Write(buf[0:binary.MaxVarintLen64])
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DesugaredAttributeContainerSerializer.java

                    encoder.writeBoolean((Boolean) container.getAttribute(attribute));
                } else if (type == Integer.class) {
                    encoder.writeByte(INTEGER_ATTRIBUTE);
                    encoder.writeInt((Integer) container.getAttribute(attribute));
                } else {
                    assert type == String.class : "Unexpected attribute type " + type + " : should be " + String.class.getSimpleName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top