Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 118 for Farries (0.05 seconds)

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

          barrier.await(1, SECONDS);
          executor.execute(barrierTask);
          // timeout means the second task wasn't even tried
          barrier.await(1, SECONDS);
        } finally {
          service.shutdown();
        }
      }
    
      public void testRejectedExecutionThrownWithMultipleCalls() throws Exception {
        CountDownLatch latch = new CountDownLatch(1);
        SettableFuture<?> future = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/StreamResetException.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    
    /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */
    class StreamResetException(
      @JvmField val errorCode: ErrorCode,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 869 bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        }
        CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        ExecutorService executor = newFixedThreadPool(barrier.getParties());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

          CyclicBarrier barrier = new CyclicBarrier(numThreads + 1);
          Runnable wrapper =
              () -> {
                awaitUnchecked(barrier);
                task.run();
                awaitUnchecked(barrier);
              };
          for (int j = 0; j < 10; j++) {
            executor.execute(wrapper);
          }
          barrier.await(); // release the threads!
          barrier.await(); // wait for them all to complete
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. cmd/xl-storage-format-v1.go

    import (
    	"encoding/binary"
    	"encoding/hex"
    	"encoding/json"
    	"fmt"
    	"time"
    
    	"github.com/cespare/xxhash/v2"
    	jsoniter "github.com/json-iterator/go"
    )
    
    // XL constants.
    const (
    	// XL metadata file carries per object metadata.
    	xlStorageFormatFileV1 = "xl.json"
    )
    
    // Valid - tells us if the format is sane by validating
    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 22 15:30:50 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  6. cmd/format-meta.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    // Format related consts
    const (
    	// Format config file carries backend format specific details.
    	formatConfigFile = "format.json"
    )
    
    const (
    	// Version of the formatMetaV1
    	formatMetaVersionV1 = "1"
    )
    
    // format.json currently has the format:
    // {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ExecutorService executor = newDirectExecutorService();
        CyclicBarrier barrier = new CyclicBarrier(2);
    
        FutureTask<@Nullable Void> otherTask =
            new FutureTask<>(
                () -> {
                  Future<?> future =
                      executor.submit(
                          () -> {
                            // WAIT #1
                            barrier.await(1, SECONDS);
    
                            // WAIT #2
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  8. docs/contribute/concurrency.md

     * **Exchange** carries a single HTTP request/response pair.
    
     * **ExchangeFinder** chooses which connection carries each exchange. Where possible it will use the same connection for all exchanges in a single call. It prefers reusing pooled connections over establishing new connections.      
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ExecutorService executor = newDirectExecutorService();
        CyclicBarrier barrier = new CyclicBarrier(2);
    
        FutureTask<@Nullable Void> otherTask =
            new FutureTask<>(
                () -> {
                  Future<?> future =
                      executor.submit(
                          () -> {
                            // WAIT #1
                            barrier.await(1, SECONDS);
    
                            // WAIT #2
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

    import okio.Sink
    import okio.Socket
    import okio.Source
    
    /** Encode requests and responses using HTTP/2 frames. */
    class Http2ExchangeCodec(
      client: OkHttpClient,
      override val carrier: Carrier,
      private val chain: RealInterceptorChain,
      private val http2Connection: Http2Connection,
    ) : ExchangeCodec {
      @Volatile private var stream: Http2Stream? = null
    
      private val protocol: Protocol =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top