Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 924 for calc (0.53 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Response for SMB1 TRANS_CALL_NAMED_PIPE transaction.
     *
     * This response contains the data returned from the named pipe
     * after a call transaction has been processed by the server.
     */
    public class TransCallNamedPipeResponse extends SmbComTransactionResponse {
    
        private final byte[] outputBuffer;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. docs/iam/opa.md

    package httpapi.authz
    
    import input
    
    default allow = false
    
    # Allow the root user to perform any action.
    allow {
     input.owner == true
    }
    
    # All other users may do anything other than call PutObject
    allow {
     input.action != "s3:PutObject"
     input.owner == false
    }
    EOF
    ```
    
    Then load the policy via OPA's REST API.
    
    ```
    curl -X PUT --data-binary @example.rego \
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            Exception cause = new RuntimeException("Test cause");
            boolean abort = true;
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause, abort);
    
            // Call aborted() multiple times
            assertTrue(exception.aborted());
            assertTrue(exception.aborted());
            assertTrue(exception.aborted());
        }
    
        public void test_getUrl_multipleCallsReturnSameValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      protected void initMapWithNullValue() {
        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FauxveridesTest.java

    /**
     * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in
     * each immutable-collection class. This ensures, for example, that a call written "{@code
     * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}.
     *
     * @author Chris Povirk
     */
    @NullUnmarked
    public class FauxveridesTest extends TestCase {
      public void testImmutableBiMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    import jcifs.smb1.dcerpc.ndr.NdrObject;
    import jcifs.smb1.dcerpc.ndr.NdrSmall;
    
    /**
     * LSA RPC (Local Security Authority Remote Procedure Call) definitions.
     * Provides interface definitions and data structures for LSA RPC operations.
     */
    public class lsarpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

      // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value.
      // If a key hashes to 0x89abcdef the mask reduces it to 0x89abcdef & 0x7f == 0x6f. We'll call this
      // the "short hash".
      //
      // The `keys`, `values`, and `entries` arrays always have the same size as each other. They can be
      // seen as fields of an imaginary `Entry` object like this:
      //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        host: String,
      ): List<Certificate> {
        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
          throw e.targetException
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      // We use this method only for cases in which we need to decompose to primitives.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top