Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for writeInt8 (0.19 sec)

  1. internal/dsync/lock-args_gen.go

    func (z LockResp) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Code"
    	err = en.Append(0x82, 0xa4, 0x43, 0x6f, 0x64, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteUint8(uint8(z.Code))
    	if err != nil {
    		err = msgp.WrapError(err, "Code")
    		return
    	}
    	// write "Err"
    	err = en.Append(0xa3, 0x45, 0x72, 0x72)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. internal/grid/msg_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "DeadlineMS")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Handler))
    	if err != nil {
    		err = msgp.WrapError(err, "Handler")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Op))
    	if err != nil {
    		err = msgp.WrapError(err, "Op")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Flags))
    	if err != nil {
    		err = msgp.WrapError(err, "Flags")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.DataBlocks)
    	if err != nil {
    		err = msgp.WrapError(err, "DataBlocks")
    		return
    	}
    	// write "ParityBlocks"
    	err = en.Append(0xac, 0x50, 0x61, 0x72, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ParityBlocks)
    	if err != nil {
    		err = msgp.WrapError(err, "ParityBlocks")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. cmd/batch-expire_gen.go

    	}
    	// map header, size 1
    	// write "RetainVersions"
    	err = en.Append(0x81, 0xae, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Purge.RetainVersions)
    	if err != nil {
    		err = msgp.WrapError(err, "Purge", "RetainVersions")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. cmd/batch-handlers_gen.go

    	}
    	// write "ra"
    	err = en.Append(0xa2, 0x72, 0x61)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.RetryAttempts)
    	if err != nil {
    		err = msgp.WrapError(err, "RetryAttempts")
    		return
    	}
    	// write "at"
    	err = en.Append(0xa2, 0x61, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Attempts)
    	if err != nil {
    		err = msgp.WrapError(err, "Attempts")
    		return
    	}
    	// write "cmp"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. cmd/background-newdisks-heal-ops_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.PoolIndex)
    	if err != nil {
    		err = msgp.WrapError(err, "PoolIndex")
    		return
    	}
    	// write "SetIndex"
    	err = en.Append(0xa8, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.SetIndex)
    	if err != nil {
    		err = msgp.WrapError(err, "SetIndex")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
    
        // Write out array length
        int length = length();
        s.writeInt(length);
    
        // Write out all elements in the proper order.
        for (int i = 0; i < length; i++) {
          s.writeDouble(get(i));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteStreams.java

          try {
            output.writeFloat(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeInt(int v) {
          try {
            output.writeInt(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeLong(long v) {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

          this.size = 0;
        }
      }
    
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top