Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 587 for Scaled (0.08 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

                k <= bias -> TMIN
                k >= bias + TMAX -> TMAX
                else -> k - bias
              }
            if (digit < t) break
            val scaleW = BASE - t
            if (w > Int.MAX_VALUE / scaleW) return false // Prevent overflow.
            w *= scaleW
          }
          bias = adapt(i - oldi, codePoints.size + 1, oldi == 0)
          val deltaN = i / (codePoints.size + 1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTreeHandleTest.java

        }
    
        /**
         * Test for close() method.
         * Verifies that the close method can be called without throwing an exception.
         * @throws CIFSException
         */
        @Test
        void testClose() throws CIFSException {
            smbTreeHandle.close();
            // Verify that close() was called on the mock
            verify(smbTreeHandle).close();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosFileFilterTest.java

            // and a mock SmbFile with specific attributes
            when(mockFile.getAttributes()).thenReturn(fileAttributes);
    
            // When the accept method is called
            boolean result = dosFileFilter.accept(mockFile);
    
            // Then the result should be as expected
            if (expectedResult) {
                assertTrue(result, "File should be accepted");
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SSPContextTest.java

                }
    
                // Verify that calculateMIC was never called
                verify(mockCtx, never()).calculateMIC(any());
                // Verify that supportsIntegrity was checked once
                verify(mockCtx, times(1)).supportsIntegrity();
                // Due to short-circuit evaluation, isEstablished should never be called
                // when supportsIntegrity returns false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

          tmp += UnsignedLongs.remainder(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; 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)
  6. src/main/java/jcifs/smb1/UniAddress.java

            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
        }
        */
    
        /**
         * Guess first called name to try for session establishment. This
         * method is used exclusively by the <code>jcifs.smb1.smb1</code> package.
         *
         * @return the first called name to try
         */
    
        public String firstCalledName() {
            if (addr instanceof NbtAddress) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    )
    
    package okhttp3
    
    import java.io.IOException
    import okhttp3.internal.SuppressSignatureCheck
    
    /** Data classes that correspond to each of the methods of [ConnectionListener]. */
    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/RequestTest.java

            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
        void testSetRequestCredits() {
            // Test case for setRequestCredits method
            int credits = 5;
            mockRequest.setRequestCredits(credits);
    
            // Verify that setRequestCredits was called with the correct argument
            verify(mockRequest, times(1)).setRequestCredits(credits);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/debugging.md

    ### About `__name__ == "__main__"` { #about-name-main }
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    from myapp import app
    ```
    
    #### More details { #more-details }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       *   <li>{@link Cancellation} terminal state, {@code cancel} was called.
       *   <li>{@link Failure} terminal state, {@code setException} was called.
       *   <li>{@link DelegatingToFuture} intermediate state, {@code setFuture} was called.
       *   <li>{@link #NULL} terminal state, {@code set(null)} was called.
       *   <li>Any other non-null value, terminal state, {@code set} was called with a non-null
       *       argument.
       * </ul>
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top