Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 3,507 for INT (0.01 sec)

  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());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Name.java

            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
        int readWireFormat(final byte[] src, final int srcIndex) {
    
            final byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for (int i = 0; i < 15; i++) {
                tmp[i] = (byte) ((src[srcIndex + 2 * i + 1] & 0xFF) - 0x41 << 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. utils/utils_test.go

    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchCrawlerConfig.java

        /**
         * Number of shards for the queue index.
         */
        protected int queueShards = Runtime.getRuntime().availableProcessors() * 2;
    
        /**
         * Number of shards for the data index.
         */
        protected int dataShards = Runtime.getRuntime().availableProcessors() * 2;
    
        /**
         * Number of shards for the filter index.
         */
        protected int filterShards = Runtime.getRuntime().availableProcessors() * 2;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

    /**
     * Unit tests for DirectoryLeaseContext
     */
    public class DirectoryLeaseContextTest {
    
        @Test
        public void testConstructor() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
    
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

        // see https://msdn.microsoft.com/en-us/library/dd414577.aspx
    
        private int namedPipeState;
        private int readDataAvailable;
        private int numberOfMessages;
        private int messageLength;
        private byte[] data;
    
        /**
         * Gets the current state of the named pipe
         * @return the namedPipeState
         */
        public int getNamedPipeState() {
            return this.namedPipeState;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

        /**
         * SMB 3.0 persistent handle - survives server reboot
         */
        PERSISTENT(3);
    
        private final int value;
    
        HandleType(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this handle type
         * @return the numeric value
         */
        public int getValue() {
            return value;
        }
    
        /**
         * Get HandleType from numeric value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.kt

      val alpnProtocols: List<String>,
      val ellipticCurves: List<Int>,
      val handshakeFormat: String,
      val hexHandshakeBytes: String,
      val highestProtocol: Int,
      val id: Int,
      val isGrade0: Boolean,
      val lowestProtocol: Int,
      val maxDhBits: Int,
      val maxRsaBits: Int,
      val minDhBits: Int,
      val minEcdsaBits: Int,
      val minRsaBits: Int,
      val name: String,
      val npnProtocols: List<String>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.divide(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long remainder(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       *     such index exists.
       */
      public static int indexOf(long[] array, long target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(long[] array, long target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
Back to top