Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 87 for propagated (0.11 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

            // service or listener). Our contract says it is safe to call this method if
            // all services were NEW when it was called, and this has already been verified above, so we
            // don't propagate the exception.
            logger.get().log(Level.WARNING, "Unable to start Service " + service, e);
          }
        }
        return this;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. cmd/common-main.go

    		return true
    	default:
    		return false
    	}
    }
    
    // bgContext returns a context that can be used for async operations.
    // Cancellation/timeouts are removed, so parent cancellations/timeout will
    // not propagate from parent.
    // Context values are preserved.
    // This can be used for goroutines that live beyond the parent context.
    func bgContext(parent context.Context) context.Context {
    	return bgCtx{parent: parent}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

              WARN,
              journalIsCorrupt,
            )
          }
    
          // The cache is corrupted, attempt to delete the contents of the directory. This can throw and
          // we'll let that propagate out as it likely means there is a severe filesystem problem.
          try {
            delete()
          } finally {
            closed = false
          }
        }
    
        rebuildJournal()
    
        initialized = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          val lastGoodStreamId: Int
          this.withLock {
            if (isShutdown) {
              return
            }
            isShutdown = true
            lastGoodStreamId = this.lastGoodStreamId
          }
          // TODO: propagate exception message into debugData.
          // TODO: configure a timeout on the reader so that it doesn’t block forever.
          writer.goAway(lastGoodStreamId, statusCode, EMPTY_BYTE_ARRAY)
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. CREDITS

    form of a separately written license, or stated as exceptions;
    the above requirements apply either way.
    
      8. Termination.
    
      You may not propagate or modify a covered work except as expressly
    provided under this License.  Any attempt otherwise to propagate or
    modify it is void, and will automatically terminate your rights under
    this License (including any patent licenses granted under the third
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.6M bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Streams.java

        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
        // to propagate immediately.
        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // orig is the 'outermost future', this should propagate fully down the stack of futures.
        orig.cancel(true);
        assertTrue(orig.isCancelled());
        assertTrue(prev.isCancelled());
        assertTrue(prev.wasInterrupted());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Streams.java

        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
        // to propagate immediately.
        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          ).build()
        val call1 = localClient.newCall(Request(server.url("/")))
        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("ABC")
    
        // Add delays for DISCONNECT_AT_END to propogate
        waitForConnectionShutdown(connections[0])
        val call2 = localClient.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("DEF")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          client.newBuilder()
            .sslSocketFactory(handshakeCertificates.sslSocketFactory())
        }
      }
    
      /** Confirm that runtime exceptions thrown inside of OkHttp propagate to the caller.  */
      @Test
      fun unexpectedExceptionSync() {
        client =
          client.newBuilder()
            .dns { hostname: String? -> throw RuntimeException("boom!") }
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top