Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for occur (0.02 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * (Specifically, {@code directExecutor} functions should avoid heavyweight operations inside
       * {@code AsyncClosingFunction.apply}. Any heavyweight operations should occur in other threads
       * responsible for completing the returned {@code ClosingFuture}.)
       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(logged).hasSize(1); // the second failure is logged
        assertThat(logged.get(0).getThrown()).isInstanceOf(MyException.class);
      }
    
      /** All as list will log extra exceptions that occur later. */
      public void testAllAsList_logging_multipleExceptions_doneLater() throws Exception {
        SettableFuture<Object> future1 = SettableFuture.create();
        SettableFuture<Object> future2 = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(logged).hasSize(1); // the second failure is logged
        assertThat(logged.get(0).getThrown()).isInstanceOf(MyException.class);
      }
    
      /** All as list will log extra exceptions that occur later. */
      public void testAllAsList_logging_multipleExceptions_doneLater() throws Exception {
        SettableFuture<Object> future1 = SettableFuture.create();
        SettableFuture<Object> future2 = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.36.md

    - Fixed a race condition in the CEL compiler that could occur when initializing composited policies concurrently. 
      
      ### Description
      Fixes a fatal crash (concurrent map read/write) in `NewCompositedCompilerFromTemplate`.
      
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

        void drainRecencyQueue() {
          ReferenceEntry<K, V> e;
          while ((e = recencyQueue.poll()) != null) {
            // An entry may be in the recency queue despite it being removed from
            // the map . This can occur when the entry was concurrently read while a
            // writer is removing it from the segment or after a clear has removed
            // all the segment's entries.
            if (accessQueue.contains(e)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertContent("A", getResponse(newRequest("/a")))
    
        // Give the server time to disconnect.
        Thread.sleep(500)
    
        // If the request body is larger than OkHttp's replay buffer, the failure may still occur.
        val requestBodyChars = CharArray(requestSize)
        Arrays.fill(requestBodyChars, 'x')
        val requestBody = String(requestBodyChars)
        for (j in 0..1) {
          try {
            val response =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/LocalCache.java

        void drainRecencyQueue() {
          ReferenceEntry<K, V> e;
          while ((e = recencyQueue.poll()) != null) {
            // An entry may be in the recency queue despite it being removed from
            // the map . This can occur when the entry was concurrently read while a
            // writer is removing it from the segment or after a clear has removed
            // all the segment's entries.
            if (accessQueue.contains(e)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * @throws IOException if an I/O error occurs
         */
        public ACE[] getSecurity() throws IOException {
            return getSecurity(false);
        }
    
        /**
         * Returns the owner user SID for this file
         *
         * @return the owner user SID
         * @throws IOException if an I/O error occurs
         */
        public SID getOwnerUser() throws IOException {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         * this method will return the referral path to which it maps. Otherwise
         * <code>null</code> is returned.
         *
         * @return URL to the DFS volume
         * @throws SmbException if an error occurs while resolving the DFS path
         */
        public String getDfsPath() throws SmbException {
            try {
                String path = this.treeConnection.ensureDFSResolved(this.fileLocator).getDfsPath();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertThat(originalMap).hasSize(liveCount);
        // can't compare map contents until cleanup occurs
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            segment.expand();
          }
          assertThat(segment.table.length()).isEqualTo(i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
Back to Top