Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 165 for Trigger (0.04 sec)

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

              @Override
              void afterRanInterruptiblyFailure(Throwable error) {}
            };
        Thread runner = new Thread(task, "runner");
        runner.start();
        isInterruptibleRegistered.await();
        // trigger the interrupt on another thread since it will block
        Thread interrupter =
            new Thread("Interrupter") {
              @Override
              public void run() {
                task.interruptTask();
              }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       *
       * <p>Currently, this method is invoked while holding a lock. If an implementation of this method
       * blocks, it can prevent this service from changing state. If you need to performing a blocking
       * operation in order to trigger shutdown, consider instead registering a listener and
       * implementing {@code stopping}. Note, however, that {@code stopping} does not run at exactly the
       * same times as {@code triggerShutdown}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            // Register a mock file with cache
            leaseManager.registerFileCache(path, null); // Using null for simplicity in test
    
            // Handle lease break which should trigger cache operations
            leaseManager.handleLeaseBreak(key, Smb2LeaseState.SMB2_LEASE_NONE);
    
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/JoinerTest.java

      }
    
      /*
       * c.g.c.collect.testing.Helpers.misleadingSizeList has a broken Iterator, so we can't use it. (I
       * mean, ideally we'd fix it....) Also, we specifically need a List so that we trigger the fast
       * path in join(Iterable).
       */
      private static final class MisleadingSizeList<E extends @Nullable Object>
          extends ForwardingList<E> {
        final List<E> delegate;
        final int delta;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * 8`, so the class files from that build can't express nestmates. Thus, when those class files
       * are used from Java 9 or higher (i.e., high enough to trigger the VarHandle code path), such a
       * lookup would fail with an IllegalAccessException. That may then trigger use of Unsafe (possibly
       * with a warning under recent JVMs), or it may fall back even further to
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. .github/workflows/build.yml

            run: |
              echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
              sudo udevadm control --reload-rules
              sudo udevadm trigger --name-match=kvm
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v5
    
          - name: Gradle cache
            run: ./gradlew :android-test:test
    
          - name: AVD cache
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 12 04:49:37 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<>(keyTypeOrObjectUnderJ2cl), new HashMap<>());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertNotNull(encrypted1);
    
            // Encrypt larger message to trigger rotation
            byte[] largeMessage = new byte[150]; // Exceed 100 byte limit
            Arrays.fill(largeMessage, (byte) 'A');
    
            // Should trigger automatic rotation and succeed
            byte[] encrypted2 = assertDoesNotThrow(() -> context.encryptMessage(largeMessage, 2L));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

         */
        @Test
        @DisplayName("Pre-auth integrity hash should reset on error")
        void testPreauthHashResetOnError() throws Exception {
            // Setup invalid SMB2 state to trigger error
            setPrivateField(transport, "smb2", false);
    
            // Try to update preauth hash - should fail and reset
            Method updateMethod = findMethod(transport.getClass(), "updatePreauthHash", byte[].class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
     * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced
     * load on the garbage collector by only using a constant number of internal objects.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top