Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for WriteInt (0.15 sec)

  1. 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)
  2. cmd/metacache-walk_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "ForwardTo")
    		return
    	}
    	// write "Limit"
    	err = en.Append(0xa5, 0x4c, 0x69, 0x6d, 0x69, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Limit)
    	if err != nil {
    		err = msgp.WrapError(err, "Limit")
    		return
    	}
    	// write "DiskID"
    	err = en.Append(0xa6, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom_gen.go

    func (z *PoolStatus) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 4
    	// write "id"
    	err = en.Append(0x84, 0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "cl"
    	err = en.Append(0xa2, 0x63, 0x6c)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.CmdLine)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(keySet().size());
        for (K key : keySet()) {
          stream.writeObject(key);
        }
        stream.writeInt(size());
        for (Entry<K, V> entry : entries()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. cmd/storage-rest-common_gen.go

    		return
    	}
    	err = en.WriteString(z.DiskID)
    	if err != nil {
    		err = msgp.WrapError(err, "DiskID")
    		return
    	}
    	// write "m"
    	err = en.Append(0xa1, 0x6d)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ScanMode)
    	if err != nil {
    		err = msgp.WrapError(err, "ScanMode")
    		return
    	}
    	// write "c"
    	err = en.Append(0xa1, 0x63)
    	if err != nil {
    		return
    	}
    	if z.Cache == nil {
    		err = en.WriteNil()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

                    }
                    index++;
                }
            }
            return -1;
        }
    
        @Override
        public void writeExternal(final ObjectOutput s) throws IOException {
            s.writeInt(size);
            for (Entry e = header.next; e != header; e = e.next) {
                s.writeObject(e.element);
            }
        }
    
        @SuppressWarnings("unchecked")
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. internal/dsync/lock-args_gen.go

    	err = en.Append(0xa6, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d)
    	if err != nil {
    		return
    	}
    	if z.Quorum == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteInt(*z.Quorum)
    		if err != nil {
    			err = msgp.WrapError(err, "Quorum")
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    	err = en.Append(0xa3, 0x45, 0x63, 0x4d)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ErasureM)
    	if err != nil {
    		err = msgp.WrapError(err, "ErasureM")
    		return
    	}
    	// write "EcN"
    	err = en.Append(0xa3, 0x45, 0x63, 0x4e)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ErasureN)
    	if err != nil {
    		err = msgp.WrapError(err, "ErasureN")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K 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