Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for putLong (0.03 sec)

  1. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1048576L); // Total allocation units (1M)
                buffer.putLong(524288L); // Caller available allocation units (512K)
                buffer.putLong(524288L); // Actual free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Given - prepare buffer with typical file system values
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1048576L); // Total allocation units (1M)
                buffer.putLong(524288L); // Free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractByteHasher.java

        ByteBuffer scratch = scratch();
        scratch.putInt(i);
        return update(scratch, Ints.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putLong(long l) {
        ByteBuffer scratch = scratch();
        scratch.putLong(l);
        return update(scratch, Longs.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putChar(char c) {
        ByteBuffer scratch = scratch();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

            for (PrimitiveSink sink : sinks) {
              sink.putInt(value);
            }
          }
        },
        PUT_LONG() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            long value = random.nextLong();
            for (PrimitiveSink sink : sinks) {
              sink.putLong(value);
            }
          }
        },
        PUT_FLOAT() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            // Capability (4 bytes)
            bb.putInt(capability);
    
            // Reserved (4 bytes) - must be 0
            bb.putInt(0);
    
            // LinkSpeed (8 bytes) - in bits per second
            bb.putLong((long) linkSpeed * 1000000L);
    
            // SockAddr_Storage (128 bytes)
            encodeSockaddr(buffer, 24);
    
            return buffer;
        }
    
        /**
         * Parse network interface info from encoded bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Funnels.java

        return LongFunnel.INSTANCE;
      }
    
      private enum LongFunnel implements Funnel<Long> {
        INSTANCE;
    
        @Override
        public void funnel(Long from, PrimitiveSink into) {
          into.putLong(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.longFunnel()";
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Funnels.java

        return LongFunnel.INSTANCE;
      }
    
      private enum LongFunnel implements Funnel<Long> {
        INSTANCE;
    
        @Override
        public void funnel(Long from, PrimitiveSink into) {
          into.putLong(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.longFunnel()";
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.putInt(65536); // maxRawSize
            buffer.putInt(123456789); // sessionKey
            buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities
            buffer.putLong(new Date().getTime()); // serverTime
            buffer.putShort((short) -480); // serverTimeZone
            buffer.put((byte) 8); // encryptionKeyLength
    
            byte[] paramWords = buffer.array();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            long leastSig = bb.getLong();
            this.guid = new UUID(mostSig, leastSig);
        }
        
        public byte[] toBytes() {
            ByteBuffer bb = ByteBuffer.allocate(16);
            bb.putLong(guid.getMostSignificantBits());
            bb.putLong(guid.getLeastSignificantBits());
            return bb.array();
        }
        
        @Override
        public String toString() {
            return guid.toString();
        }
        
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

                baos.write(channel.getLocalInterface().getAddress().getAddress());
                baos.write(channel.getRemoteInterface().getAddress().getAddress());
                baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array());
            } catch (IOException e) {
                // Should not happen with ByteArrayOutputStream
            }
            
            return baos.toByteArray();
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top