Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 981 - 990 of 4,189 for inst (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.add(2);
        mmHeap.add(3);
        assertEquals(4, (int) mmHeap.pollLast());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(2, (int) mmHeap.peekLast());
        assertEquals(2, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.peekLast());
        assertEquals(1, (int) mmHeap.pollLast());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

        void testHandleLeaseBreak() {
            String path = "/share/file.txt";
            int initialState = Smb2LeaseState.SMB2_LEASE_FULL;
            int newState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
    
            Smb2LeaseKey key = leaseManager.requestLease(path, initialState);
            leaseManager.updateLease(key, initialState);
    
            int initialEpoch = leaseManager.getLease(key).getEpoch();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            long overallStart = System.nanoTime();
    
            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
                        startLatch.await();
    
                        long threadStart = System.nanoTime();
                        for (int i = 0; i < operationsPerThread; i++) {
                            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

        void writeParametersWireFormat_writesCorrectly(int fid, int securityInformation) {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(fid, securityInformation);
            byte[] dst = new byte[15]; // Increased buffer size to accommodate offset + 8 bytes
            int offset = 3; // start in the middle to ensure no tail is overwritten
            int bytesWritten = cmd.writeParametersWireFormat(dst, offset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

     * DNS resolvable hosts.
     */
    
    public class UniAddress {
    
        private static final int RESOLVER_WINS = 0;
        private static final int RESOLVER_BCAST = 1;
        private static final int RESOLVER_DNS = 2;
        private static final int RESOLVER_LMHOSTS = 3;
    
        private static int[] resolveOrder;
        private static InetAddress baddr;
    
        private static LogStream log = LogStream.getInstance();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbException.java

         */
        public static String getMessageByCode(final int errcode) {
            String message = errorCodeMessages.get(errcode);
            if (message == null) {
                message = "0x" + Hexdump.toHexString(errcode, 8);
            }
            return message;
        }
    
        static int getStatusByCode(final int errcode) {
            int statusCode;
            if ((errcode & 0xC0000000) != 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/pager/PathMapPager.java

        /** Default page size. */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /** Default current page number. */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** The total number of records. */
        private int allRecordCount;
    
        /** The total number of pages. */
        private int allPageCount;
    
        /** Indicates if a previous page exists. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/pager/RolePager.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.
         */
        private int allRecordCount;
    
        /**
         * Total number of pages.
         */
        private int allPageCount;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/SmallCharMatcher.java

        // Compute the filter.
        long filter = 0;
        int size = chars.cardinality();
        boolean containsZero = chars.get(0);
        // Compute the hash table.
        char[] table = new char[chooseTableSize(size)];
        int mask = table.length - 1;
        for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) {
          // Compute the filter at the same time.
          filter |= 1L << c;
          int index = smear(c) & mask;
          while (true) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableList.java

        return array;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int dstOff) {
        arraycopy(array, 0, dst, dstOff, size);
        return dstOff + size;
      }
    
      // The fake cast to E is safe because the creation methods only allow E's
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top