Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 103 for Concurrency (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            if (offset + SIGNATURE_OFFSET + SIGNATURE_LENGTH > data.length) {
                throw new IllegalArgumentException("Signature field exceeds data buffer size");
            }
    
            // Use fine-grained locking for better concurrency
            this.signingLock.lock();
            try {
                if (this.closed) {
                    throw new IllegalStateException("SigningDigest is closed");
                }
    
                // zero out signature field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.Executor;
    import java.util.logging.Level;
    
    /**
     * A list of listeners for implementing a concurrency friendly observable object.
     *
     * <p>Listeners are registered once via {@link #addListener} and then may be invoked by {@linkplain
     * #enqueue enqueueing} and then {@linkplain #dispatch dispatching} events.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. .github/workflows/maven.yml

    # under the License.
    
    name: Java CI
    
    on:
      push:
        branches: [ master ]
      pull_request:
        branches: [ master ]
    
    # allow single build per branch or PR
    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
      cancel-in-progress: true
    
    # clear all permissions for GITHUB_TOKEN
    permissions: {}
    
    jobs:
      initial-build:
        runs-on: ubuntu-latest
        steps:
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Aug 25 07:07:00 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertTrue(exception.getMessage().contains("Signature verification failed"));
            }
        }
    
        @Nested
        @DisplayName("Concurrency Tests")
        class ConcurrencyTests {
    
            @Test
            @DisplayName("Should handle concurrent received notifications")
            void testConcurrentReceived() throws InterruptedException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      int takeIndex;
    
      /** items index for next put, offer, or add. */
      int putIndex;
    
      /** Number of items in the queue */
      private int count;
    
      /*
       * Concurrency control uses the classic two-condition algorithm
       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        Map<String, String> getEffectiveProperties(@Nullable Project project);
    
        /**
         * Returns the degree of concurrency for the build.
         *
         * @return  the degree of concurrency
         */
        int getDegreeOfConcurrency();
    
        /**
         * Retrieves a list of projects associated with the session.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

        return new HashSet<>(Maps.capacity(expectedSize));
      }
    
      /**
       * Creates a thread-safe set backed by a hash map. The set is backed by a {@link
       * ConcurrentHashMap} instance, and thus carries the same concurrency guarantees.
       *
       * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The
       * set is serializable.
       *
       * @return a new, empty thread-safe {@code Set}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  10. doc/go_mem.html

    <p>
    The following formal definition of Go's memory model closely follows
    the approach presented by Hans-J. Boehm and Sarita V. Adve in
    “<a href="https://dl.acm.org/doi/10.1145/1375581.1375591">Foundations of the C++ Concurrency Memory Model</a>”,
    published in PLDI 2008.
    The definition of data-race-free programs and the guarantee of sequential consistency
    for race-free programs are equivalent to the ones in that work.
    </p>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top