Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,872 for Ball (0.25 sec)

  1. android/guava/src/com/google/common/io/Closer.java

     * try-with-resources. To get the equivalent of that, you must wrap the above code in <i>another</i>
     * try block in order to catch any exception that may be thrown (including from the call to {@code
     * close()}).
     *
     * <p>This pattern ensures the following:
     *
     * <ul>
     *   <li>Each {@code Closeable} resource that is successfully registered will be closed later.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

         * we must return it in the following next() call even if it was in the process of being removed
         * when hasNext() was called.
         */
        private @Nullable E nextItem;
    
        /**
         * Index of element returned by most recent call to next. Reset to -1 if this element is deleted
         * by a call to remove.
         */
        private int lastRet;
    
        Itr() {
          lastRet = -1;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt

        route: Route,
        call: Call,
      ) {}
    
      /**
       * Invoked when a connection fails to be established.
       */
      open fun connectFailed(
        route: Route,
        call: Call,
        failure: IOException,
      ) {}
    
      /**
       * Invoked as soon as a connection is successfully established.
       */
      open fun connectEnd(
        connection: Connection,
        route: Route,
        call: Call,
      ) {}
    
      /**
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        /**
         * It is implicitly assumed that all the services are NEW and that they will all remain NEW
         * until all the Listeners are installed and {@link #markReady()} is called. It is our caller's
         * responsibility to only call {@link #markReady()} if all services were new at the time this
         * method was called and when all the listeners were installed.
         */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response
       * to the [Call.request] is a redirect to a different address.
       */
      open fun connectionAcquired(
        call: Call,
        connection: Connection,
      ) {
      }
    
      /**
       * Invoked after a connection has been released for the `call`.
       *
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    	// dRWMutexRefreshTimeout - default timeout for the refresh call
    	drwMutexRefreshCallTimeout = 5 * time.Second
    
    	// dRWMutexUnlockTimeout - default timeout for the unlock call
    	drwMutexUnlockCallTimeout = 30 * time.Second
    
    	// dRWMutexForceUnlockTimeout - default timeout for the unlock call
    	drwMutexForceUnlockCallTimeout = 30 * time.Second
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/os-instrumented.go

    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. cmd/notification.go

    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.workers.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    // The first call to return a non-nil error will be
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  9. cmd/service.go

    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    	// Re-uses the same pid. This preserves the pid over multiple server-respawns.
    	return syscall.Exec(argv0, os.Args, os.Environ())
    }
    
    // freezeServices will freeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

         * TODO(lowasser): consider checking for Multiset here
         */
        // Don't refer to ImmutableSortedSet by name so it won't pull in all that code
        if (elements instanceof ImmutableSet && !(elements instanceof SortedSet)) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableSet<E> set = (ImmutableSet<E>) elements;
          if (!set.isPartialView()) {
            return set;
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top