Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 553 for Calling (0.14 sec)

  1. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          assertWrapsInterruptedException(expected);
        } finally {
          interruptenator.shutdown();
          Thread.interrupted();
        }
      }
    
      /**
       * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as
       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
     *       service to a {@link ListeningExecutorService}, usually by calling {@link
     *       MoreExecutors#listeningDecorator(java.util.concurrent.ExecutorService)
     *       MoreExecutors.listeningDecorator}.
     *   <li>If you manually call {@link java.util.concurrent.FutureTask#set} or a similar method,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testSetCount_negative_removeUnsupported() {
        try {
          setCountNoCheckReturnValue(e3(), -1);
          fail(
              "calling setCount() with a negative count should throw "
                  + "IllegalArgumentException or UnsupportedOperationException");
        } catch (IllegalArgumentException | UnsupportedOperationException expected) {
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/Cache.java

       *
       * @since 11.0
       */
      void put(K key, V value);
    
      /**
       * Copies all of the mappings from the specified map to the cache. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
       * if the specified map is modified while the operation is in progress.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

              "SetOpName called on already built op.");
        }
        if (op_type_.empty()) {
          return errors::FailedPrecondition(
              "GraphOperation::Reset must be called before calling SetOpName.");
        }
        // TODO(b/145674566): We use Graph::NewName to get a unique name here but
        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
    
        static final int FILE_OVERWRITE = 0x4;
    
        /*
         * Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
        // create options
        static final int FILE_WRITE_THROUGH = 0x00000002;
        static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractBaseGraph.java

          }
    
          @Override
          public boolean remove(@CheckForNull Object o) {
            throw new UnsupportedOperationException();
          }
    
          // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
          // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
          // Graph<LinkedList>.
          @SuppressWarnings("unchecked")
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Crc32cHashFunction.java

        private int crc2 = 0;
        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
          if (finished) {
            throw new IllegalStateException(
                "The behavior of calling any method after calling hash() is undefined.");
          }
          while (bb.remaining() >= 16) {
            crc0 = computeForWord(crc0);
            crc1 = computeForWord(crc1);
            crc2 = computeForWord(crc2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * individually submitted tasks and to collections of tasks submitted via {@code invokeAll} or
       * {@code invokeAny}. In the latter case, tasks will run serially on the calling thread. Tasks are
       * run to completion before a {@code Future} is returned to the caller (unless the executor has
       * been shutdown).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/LittleEndianByteArray.java

            | ((source[offset + 3] & 0xFF) << 24);
      }
    
      /**
       * Indicates that the loading of Unsafe was successful and the load and store operations will be
       * very efficient. May be useful for calling code to fall back on an alternative implementation
       * that is slower than Unsafe.get/store but faster than the pure-Java mask-and-shift.
       */
      static boolean usingUnsafe() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top