Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 3,507 for int (0.01 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            // Test case 3: Zero value
            int zeroValue = 0;
            NdrLong ndrLongZero = new NdrLong(zeroValue);
            assertEquals(zeroValue, ndrLongZero.value, "Constructor should correctly initialize with zero.");
    
            // Test case 4: Max int value
            int maxIntValue = Integer.MAX_VALUE;
            NdrLong ndrLongMax = new NdrLong(maxIntValue);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

                return list.get(ThreadLocalRandom.current().nextInt(list.size()));
            }
    
            // Weighted random selection
            int random = ThreadLocalRandom.current().nextInt(totalWeight);
            int currentWeight = 0;
    
            for (ChannelInfo channel : channels) {
                currentWeight += channel.getScore();
                if (random < currentWeight) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComBlankResponse.java

            super(config);
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        }
    
        /**
         * SMB2 File Action constants
         */
        private static final int FILE_ACTION_ADDED = 0x00000001;
        private static final int FILE_ACTION_REMOVED = 0x00000002;
        private static final int FILE_ACTION_MODIFIED = 0x00000003;
        private static final int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004;
        private static final int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005;
    
        /**
         * SMB2 File Notify Change constants
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbPipeHandleInternal#sendrecv(byte[], int, int, byte[], int)
         */
        @SuppressWarnings("resource")
        @Override
        public int sendrecv(final byte[] buf, final int off, final int length, final byte[] inB, final int maxRecvSize) throws IOException {
            try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            return leaseDuration;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // This is a response, not a request, so this method is not used
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            // StructureSize (2 bytes) - must be 36
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/FileEntry.java

         */
        String getName();
    
        /**
         * Gets the type of the entry.
         *
         * @return the entry type
         */
        int getType();
    
        /**
         * Gets the file attributes.
         *
         * @return the file attributes
         */
        int getAttributes();
    
        /**
         * Gets the creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

            }
        }
    
        @Override
        public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids, final int offset,
                final int length) throws CIFSException {
            final ArrayList<SID> list = new ArrayList<>(sids.length);
            int si;
    
            synchronized (this.sidCache) {
                for (si = 0; si < length; si++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(String.class)).isSameInstanceAs(String.class);
      }
    
      public void testUnwrap() {
        assertThat(Primitives.unwrap(Integer.class)).isSameInstanceAs(int.class);
        assertThat(Primitives.unwrap(int.class)).isSameInstanceAs(int.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

        private int flags;
    
        /**
         * Create a new durable handle V2 response
         */
        public DurableHandleV2Response() {
            // Will be populated during decode
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top