Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for WriteInt (0.05 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                dos.writeInt(Integer.reverseBytes(3)); // 3 buffers
                dos.writeInt(Integer.reverseBytes(PacConstants.PAC_VERSION));
    
                // Write buffer entries
                dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO));
                dos.writeInt(Integer.reverseBytes(10));
                dos.writeLong(Long.reverseBytes(100));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

        val totalRuleBytes: Int,
        val totalExceptionRuleBytes: Int,
      ) {
        fun writeOut(sink: BufferedSink) {
          with(sink) {
            writeInt(totalRuleBytes)
            for (domain in sortedRules) {
              write(domain).writeByte(NEWLINE)
            }
            writeInt(totalExceptionRuleBytes)
            for (domain in sortedExceptionRules) {
              write(domain).writeByte(NEWLINE)
            }
          }
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      @GwtIncompatible
      @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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacLogonInfoTest.java

            dos.writeShort(Short.reverseBytes(value));
        }
    
        private void writeLittleEndianInt(DataOutputStream dos, int value) throws IOException {
            dos.writeInt(Integer.reverseBytes(value));
        }
    
        private void writeLittleEndianLong(DataOutputStream dos, long value) throws IOException {
            dos.writeLong(Long.reverseBytes(value));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        @Override
        public final void writeChar(final int v) throws SmbException {
            Encdec.enc_uint16be((short) v, tmp, 0);
            write(tmp, 0, 2);
        }
    
        @Override
        public final void writeInt(final int v) throws SmbException {
            Encdec.enc_uint32be(v, tmp, 0);
            write(tmp, 0, 4);
        }
    
        @Override
        public final void writeLong(final long v) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        @Override
        public final void writeChar(final int v) throws SmbException {
            Encdec.enc_uint16be((short) v, this.tmp, 0);
            write(this.tmp, 0, 2);
        }
    
        @Override
        public final void writeInt(final int v) throws SmbException {
            Encdec.enc_uint32be(v, this.tmp, 0);
            write(this.tmp, 0, 4);
        }
    
        @Override
        public final void writeLong(final long v) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
    
            raf.writeShort(1);
            raf.writeChar('A');
            raf.writeInt(1);
            raf.writeLong(1L);
            raf.writeFloat(1.0f);
            raf.writeDouble(1.0);
    
            // Verify length counts - using times() to check exact counts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top