Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for 101 (0.58 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter unused;
        unused = RateLimiter.create(1.0, 1, NANOSECONDS);
        unused = RateLimiter.create(1.0, 0, NANOSECONDS);
    
        assertThrows(IllegalArgumentException.class, () -> RateLimiter.create(0.0, 1, NANOSECONDS));
    
        assertThrows(IllegalArgumentException.class, () -> RateLimiter.create(1.0, -1, NANOSECONDS));
      }
    
      @AndroidIncompatible // difference in String.format rounding?
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

        @Test
        void testShareInfoCtr502DecodeWithInvalidArraySize() throws NdrException {
            srvsvc.ShareInfoCtr502 ctr502 = new srvsvc.ShareInfoCtr502();
    
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(10, 1); // count, array pointer
            when(mockDeferredBuffer.dec_ndr_long()).thenReturn(0x10000); // invalid array size
    
            assertThrows(NdrException.class, () -> ctr502.decode(mockNdrBuffer));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
     * `-android` "flavors.")
     *
     * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how
     * that affects users, especially users of the Android Gradle Plugin, since the plugin developers
     * put in a special hack for us: https://issuetracker.google.com/issues/131431257)
     */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. scan.go

    		}
    
    		// release data to pool
    		field.NewValuePool.Put(values[idx])
    	}
    }
    
    // ScanMode scan data mode
    type ScanMode uint8
    
    // scan modes
    const (
    	ScanInitialized         ScanMode = 1 << 0 // 1
    	ScanUpdate              ScanMode = 1 << 1 // 2
    	ScanOnConflictDoNothing ScanMode = 1 << 2 // 4
    )
    
    // Scan scan rows into db statement
    func Scan(rows Rows, db *DB, mode ScanMode) {
    	var (
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        void testEncodeDecode() {
            // Setup SMB with some data
            smb.command = ServerMessageBlock.SMB_COM_ECHO;
            smb.mid = 123;
            smb.pid = 456;
            smb.tid = 789;
            smb.uid = 101;
            smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            smb.useUnicode = true;
    
            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
            byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. internal/lsync/lrwmutex_test.go

    	if testing.Short() {
    		n = 5
    	}
    	HammerRWMutex(1, 1, n)
    	HammerRWMutex(1, 3, n)
    	HammerRWMutex(1, 10, n)
    	HammerRWMutex(4, 1, n)
    	HammerRWMutex(4, 3, n)
    	HammerRWMutex(4, 10, n)
    	HammerRWMutex(10, 1, n)
    	HammerRWMutex(10, 3, n)
    	HammerRWMutex(10, 10, n)
    	HammerRWMutex(10, 5, n)
    }
    
    // Borrowed from rwmutex_test.go
    func TestDRLocker(t *testing.T) {
    	wl := NewLRWMutex()
    	var rl sync.Locker
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     *   </li>
     * <li>A hyphen usually precedes a qualifier, and is always less important than digits/number. For example
     *   {@code 1.0.RC2 < 1.0-RC3 < 1.0.1}; but prefer {@code 1.0.0-RC2} over {@code 1.0.0.RC2}, and more
     *   generally: {@code 1.0.X2 < 1.0-X3 < 1.0.1} for any string {@code X}; but prefer {@code 1.0.0-X1}
     *   over {@code 1.0.0.X1}.</li>
     * </ul>
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testSortDescendingIndexed() {
        testSortDescending(new int[] {}, 0, 0, new int[] {});
        testSortDescending(new int[] {1}, 0, 1, new int[] {1});
        testSortDescending(new int[] {1, 2}, 0, 2, new int[] {2, 1});
        testSortDescending(new int[] {1, 3, 1}, 0, 2, new int[] {3, 1, 1});
        testSortDescending(new int[] {1, 3, 1}, 0, 1, new int[] {1, 3, 1});
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex_test.go

    		n = 5
    	}
    	hammerRWMutex(t, 1, 1, n)
    	hammerRWMutex(t, 1, 3, n)
    	hammerRWMutex(t, 1, 10, n)
    	hammerRWMutex(t, 4, 1, n)
    	hammerRWMutex(t, 4, 3, n)
    	hammerRWMutex(t, 4, 10, n)
    	hammerRWMutex(t, 10, 1, n)
    	hammerRWMutex(t, 10, 3, n)
    	hammerRWMutex(t, 10, 10, n)
    	hammerRWMutex(t, 10, 5, n)
    }
    
    // Borrowed from rwmutex_test.go
    func TestUnlockPanic(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. cmd/apierrorcode_string.go

    	_ = x[ErrNegativeExpires-96]
    	_ = x[ErrAuthHeaderEmpty-97]
    	_ = x[ErrExpiredPresignRequest-98]
    	_ = x[ErrRequestNotReadyYet-99]
    	_ = x[ErrUnsignedHeaders-100]
    	_ = x[ErrMissingDateHeader-101]
    	_ = x[ErrInvalidQuerySignatureAlgo-102]
    	_ = x[ErrInvalidQueryParams-103]
    	_ = x[ErrBucketAlreadyOwnedByYou-104]
    	_ = x[ErrInvalidDuration-105]
    	_ = x[ErrBucketAlreadyExists-106]
    	_ = x[ErrMetadataTooLarge-107]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top