Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 643 for setEnd (0.39 sec)

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

         * approach would be for each caller CAS it from null to a Set populated with its exception. But
         * there's another race: If the first thread fails with an exception and a second thread
         * immediately fails with the same exception:
         *
         * Thread1: calls setException(), which returns true, context switch before it can CAS
         * seenExceptions to its exception
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/eventbus/Dispatcher.java

        //    were added to the queue. It's easily possible for one thread to take the head of the
        //    queue, immediately followed by another thread taking the next element in the queue. That
        //    second thread can then dispatch to the subscriber it took before the first thread does.
        //
        // All this makes me really wonder if there's any value in queueing here at all. A dispatcher
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                // this will run at most twice. The first time, the firstRun flag is turned off, and if the retry flag
                // is set on the first run, it will be turned off and not re-set on the second try. This is because the
                // only way the retry flag can be set is if ( firstRun == true ).
                while (firstRun || retry) {
                    ChecksumObserver md5ChecksumObserver = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  4. docs/en/docs/environment-variables.md

    For example you could have a file `main.py` with:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Sep 08 20:36:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          }
        }
      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. internal/config/lambda/target/webhook.go

    		TotalRequests:  atomic.LoadInt64(&target.totalRequests),
    		FailedRequests: atomic.LoadInt64(&target.failedRequests),
    	}
    }
    
    // Send - sends an event to the webhook.
    func (target *WebhookTarget) Send(eventData event.Event) (resp *http.Response, err error) {
    	atomic.AddInt64(&target.activeRequests, 1)
    	defer atomic.AddInt64(&target.activeRequests, -1)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.cc

    }
    
    absl::Status SetDefaultTracingEngine(const char* name) {
      auto entry = GetFactories().find(name);
      if (entry != GetFactories().end()) {
        default_factory = GetFactories().find(name)->second;
        return absl::OkStatus();
      }
      string msg = absl::StrCat(
          "No tracing engine factory has been registered with the key '", name,
          "' (available: ");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. cmd/peer-rest-client.go

    			select {
    			case <-ctx.Done():
    				return
    			default:
    				// There was error in the REST request, retry after sometime as probably the peer is down.
    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) {
    	go func() {
    		for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

    
        /**
         * @return
         * @throws IOException
         */
        private int negotiateWrite ( CommonServerMessageBlockRequest req, boolean setmid ) throws IOException {
            if ( setmid ) {
                makeKey(req);
            }
            else {
                req.setMid(0);
                this.mid.set(1);
            }
            int n = req.encode(this.sbuf, 4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. helm-releases/minio-3.5.0.tgz

    false allowHostNetwork: false allowHostPID: false allowHostPorts: false allowPrivilegeEscala: true allowPrivilegedConta: false allowedCapabilities: [] readOnlyRootFilesyst: false defaultAddCapabiliti: [] requiredDropCapabili: - KILL - MKNOD - SETUID - SETGID fsGroup: type: MustRunAs ranges: - max: {{ .Values.securityContext.fsGroup }} min: {{ .Values.securityContext.fsGroup }} runAsUser: type: MustRunAs uid: {{ .Values.securityContext.runAsUser }} seLinuxContext: type: MustRunAs supplementalGroups:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 02 00:16:41 UTC 2022
    - 15.2K bytes
    - Viewed (0)
Back to top