Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for writeInt (0.25 sec)

  1. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       */
      @Override
      public void writeFloat(float v) throws IOException {
        writeInt(Float.floatToIntBits(v));
      }
    
      /**
       * Writes an {@code int} as specified by {@link DataOutputStream#writeInt(int)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeInt(int v) throws IOException {
        out.write(0xFF & v);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 12:34:49 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. cmd/data-usage-cache_gen.go

    		err = en.Append(0xa2, 0x6e, 0x76)
    		if err != nil {
    			return
    		}
    		err = en.WriteInt(za0002.NumVersions)
    		if err != nil {
    			err = msgp.WrapError(err, "Tiers", za0001, "NumVersions")
    			return
    		}
    		// write "no"
    		err = en.Append(0xa2, 0x6e, 0x6f)
    		if err != nil {
    			return
    		}
    		err = en.WriteInt(za0002.NumObjects)
    		if err != nil {
    			err = msgp.WrapError(err, "Tiers", za0001, "NumObjects")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

        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++) {
          dout.writeLong(bits.data.get(i));
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.Results)))
    	if err != nil {
    		err = msgp.WrapError(err, "Results")
    		return
    	}
    	for za0001 := range z.Results {
    		err = en.WriteInt(z.Results[za0001])
    		if err != nil {
    			err = msgp.WrapError(err, "Results", za0001)
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                            writer.writeln(s + "\\");
                        } else {
                            writer.writeln(s);
                        }
                    }
                } else {
                    writer.writeProperty(key, storage.get(key));
                }
            }
            if (footer != null) {
                for (String s : footer) {
                    writer.writeln(s);
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top