Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 4,002 for Hint (0.02 sec)

  1. guava/src/com/google/common/primitives/Chars.java

       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(char[] array, char target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/pager/SearchLogPager.java

        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /** Default current page number for pagination. */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** Total number of records matching the search criteria. */
        private int allRecordCount;
    
        /** Total number of pages based on record count and page size. */
        private int allPageCount;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

         */
        private String decodeWideStringPointer(NdrBuffer buf) throws NdrException {
            int pointer = buf.dec_ndr_long();
            if (pointer == 0) {
                return null; // NULL pointer
            }
    
            int maxCount = buf.dec_ndr_long();
            int offset = buf.dec_ndr_long();
            int actualCount = buf.dec_ndr_long();
    
            if (actualCount <= 0) {
                return "";
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial001_py310.py

    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    def read_hero(hero_id: int, session: Session = Depends(get_session)) -> Hero:
        hero = session.get(Hero, hero_id)
        if not hero:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    class DcerpcExceptionTest {
    
        /**
         * Test constructor DcerpcException(int error) with a known error code.
         */
        @Test
        void testConstructorWithError_knownCode() {
            int errorCode = DcerpcError.DCERPC_FAULT_ACCESS_DENIED;
            DcerpcException exception = new DcerpcException(errorCode);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/https/HandlerTest.java

            }
    
            @Test
            @DisplayName("Should return consistent port value")
            void testPortConsistency() {
                // When
                int port1 = handler.getDefaultPort();
                int port2 = handler.getDefaultPort();
                int port3 = handler.getDefaultPort();
    
                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NodeStatusResponse.java

        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readResourceRecordWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Given
            byte[] buffer = new byte[512];
            int encodeIndex = 0;
            int decodeIndex = 0;
            int encodeLength = 100;
            int decodeLength = 100;
    
            when(messageBlock.encode(buffer, encodeIndex)).thenReturn(encodeLength);
            when(messageBlock.decode(buffer, decodeIndex)).thenReturn(decodeLength);
    
            // When
            int encoded = messageBlock.encode(buffer, encodeIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ACE.java

        int FILE_READ_EA = 0x00000008; // 4
        /**
         * Permission to write extended attributes
         */
        int FILE_WRITE_EA = 0x00000010; // 5
        /**
         * Permission to execute a file or traverse a directory
         */
        int FILE_EXECUTE = 0x00000020; // 6
        /**
         * Permission to delete a file or directory
         */
        int FILE_DELETE = 0x00000040; // 7
        /**
         * Permission to read file attributes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbException.java

            }
    
            return "0x" + Hexdump.toHexString(errcode, 8);
        }
    
        static int getStatusByCode(final int errcode) {
            if ((errcode & 0xC0000000) != 0) {
                return errcode;
            }
            int min = 0;
            int max = DOS_ERROR_CODES.length - 1;
    
            while (max >= min) {
                final int mid = (min + max) / 2;
    
                if (errcode > DOS_ERROR_CODES[mid][0]) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top