Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 623 for fast (0.01 sec)

  1. .github/workflows/build.yml

          - name: Run native-image tests
            run: ./gradlew -PgraalBuild=true native-image-tests:nativeTest
    
      testandroid:
        runs-on: ubuntu-latest
        timeout-minutes: 30
    
        strategy:
          fail-fast: false
          matrix:
            api-level:
              - 21
              - 29
              - 34
    
        steps:
          - name: Checkout
            uses: actions/checkout@v5
    
          - name: Configure JDK
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/TransportTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import jcifs.RuntimeCIFSException;
    
    /**
     * Optimized test for Transport class focusing on core functionality
     * with fast execution and comprehensive coverage of key behaviors.
     */
    class TransportTest {
    
        private TestableTransport transport;
    
        /**
         * Minimal Transport implementation for testing core functionality
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/DoubleUtils.java

        long significand = doubleToRawLongBits(x) & SIGNIFICAND_MASK;
        return longBitsToDouble(significand | ONE_BITS);
      }
    
      static double bigToDouble(BigInteger x) {
        // This is an extremely fast implementation of BigInteger.doubleValue(). JDK patch pending.
        BigInteger absX = x.abs();
        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
             * If we have spun a lot, just park ourselves. This will save CPU while we wait for a slow
             * interrupting thread. In theory, interruptTask() should be very fast, but due to
             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
             * predictable what work might be done. (e.g., close a file and flush buffers to disk). To
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. src/main/java/jcifs/audit/SecurityAuditLogger.java

                return data;
            }
    
            // Performance optimization: skip expensive regex for high-frequency logging
            if (enableHighPerformanceMode) {
                // Fast path: only check for obvious patterns without regex
                String lowerData = data.toLowerCase();
                if (!lowerData.contains("password") && !lowerData.contains("secret") && !lowerData.contains("token")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
       * Attempts to write the request body fails fast.
       */
      @Test
      fun serverTruncatesRequestHttp2OnDuplexRequest() {
        enableProtocol(Protocol.HTTP_2)
    
        server.enqueue(
          MockResponse
            .Builder()
            .body("abc")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/CharEscaper.java

       * @throws NullPointerException if {@code string} is null
       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

           * AGP: https://github.com/google/guava/issues/7769.
           *
           * My impression is that an AtomicReferenceFieldUpdater in a static field is similarly fast to
           * Unsafe on modern JVMs (if perhaps not quite as fast as VarHandle?). However, I'm not sure
           * exactly what we've benchmarked, and we certainly haven't benchmarked as far back as JDK 8.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/CharEscaper.java

       * @throws NullPointerException if {@code string} is null
       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigIntegerMath.java

            return sqrtFloor;
          case CEILING:
          case UP:
            int sqrtFloorInt = sqrtFloor.intValue();
            boolean sqrtFloorIsExact =
                (sqrtFloorInt * sqrtFloorInt == x.intValue()) // fast check mod 2^32
                    && sqrtFloor.pow(2).equals(x); // slow exact check
            return sqrtFloorIsExact ? sqrtFloor : sqrtFloor.add(BigInteger.ONE);
          case HALF_DOWN:
          case HALF_UP:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top