Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,226 for inte (2 sec)

  1. src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java

         */
        @Override
        public int size() {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 4);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt2(4, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                buffer[12] = (byte) 0xFF;
                buffer[13] = 0x01;
                buffer[14] = 0x1F;
                buffer[15] = 0x00;
    
                // When
                int bytesRead = (int) invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0);
    
                // Then
                assertEquals(16, bytesRead, "Should read 16 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/SLinkedList.java

         * @return the entry
         */
        public Entry getEntry(final int index) {
            assertIndex(0 <= index && index < size, "Index: " + index + ", Size: " + size);
            Entry e = header;
            if (index < size / 2) {
                for (int i = 0; i <= index; i++) {
                    e = e.next;
                }
            } else {
                for (int i = size; i > index; i--) {
                    e = e.previous;
                }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    @GwtCompatible
    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
        extends UnmodifiableListIterator<E> {
      private final int size;
      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      @Override
      public int indexOf(@Nullable Object object) {
        return delegateList().indexOf(object);
      }
    
      @Override
      public int lastIndexOf(@Nullable Object object) {
        return delegateList().lastIndexOf(object);
      }
    
      @Override
      public E get(int index) {
        return delegateList().get(index);
      }
    
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    		ACB_DONT_REQUIRE_PREAUTH   = 0x00010000  /* 1 = Preauth not required */
    	} SamrAcctFlags;
    
    	[op(0x01)]
    	int SamrCloseHandle([in] policy_handle *handle);
    
    	[op(0x39)]
    	int SamrConnect2([in,string,unique] wchar_t *system_name,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            int[] array = new int[random.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(stream(array));
          }
        },
        ADD_IIA {
          @Override
          void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) {
            int[] array = new int[random.nextInt(10)];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            int result = response.writeDataWireFormat(dst, 0);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
            byte[] buffer = new byte[100];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          WatchedCreatorLoader loader,
          FakeTicker ticker,
          CountingRemovalListener<String, Integer> removalListener) {
    
        for (int i = 0; i < 10; i++) {
          assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i));
        }
    
        for (int i = 0; i < 10; i++) {
          loader.reset();
          assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

         * This method should do nothing and return 0.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
            byte[] dst = new byte[10];
            int dstIndex = 0;
            // The method should return 0 as it writes no parameter words
            int result = smbComNegotiate.writeParameterWordsWireFormat(dst, dstIndex);
            assertEquals(0, result, "writeParameterWordsWireFormat should return 0.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top