Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 844 for called (0.12 sec)

  1. cmd/bucket-lifecycle.go

    // UpdateWorkers at the end of this function leaves n goroutines waiting for
    // transition tasks
    func (t *transitionState) UpdateWorkers(n int) {
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if t.objAPI == nil { // Init hasn't been called yet.
    		return
    	}
    	t.updateWorkers(n)
    }
    
    func (t *transitionState) updateWorkers(n int) {
    	if n == 0 {
    		n = 100
    	}
    
    	for t.numWorkers < n {
    		go t.worker(t.objAPI)
    		t.numWorkers++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

          static_cast<tensorflow::ContextDevicePlacementPolicy>(policy));
    }
    
    // Note: this function looks up a thread local policy. So it should be called in
    // the appropriate client thread. In particular, in async mode, it may not be
    // safe to call this function from the async EagerExecutor threads.
    extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy(
        TFE_Context* ctx) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield
    
    FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    /// tip
    
    Make sure to use `yield` one single time per dependency.
    
    ///
    
    /// note | "Technical Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. internal/s3select/jstream/decoder.go

    			i, err = d.objectOrdered()
    		} else {
    			i, err = d.object()
    		}
    		return i, Object, err
    	default:
    		return nil, Unknown, d.mkError(ErrSyntax, "looking for beginning of value")
    	}
    }
    
    // string called by `any` or `object`(for map keys) after reading `"`
    func (d *Decoder) string() (string, error) {
    	d.scratch.reset()
    	c := d.next()
    
    scan:
    	for {
    		switch {
    		case c == '"':
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. internal/config/lambda/target/webhook.go

    	xhttp.DrainBody(resp.Body)
    	// No network failure i.e response from the target means its up
    	return true, nil
    }
    
    // Stat - returns lambda webhook target statistics such as
    // current calls in progress, successfully completed functions
    // failed functions.
    func (target *WebhookTarget) Stat() event.TargetStat {
    	return event.TargetStat{
    		ID:             target.id,
    		ActiveRequests: atomic.LoadInt64(&target.activeRequests),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        return this.handle.acquire();
                    }
    
                    // TODO: wait for pipe, still not sure when this needs to be called exactly
                    if ( this.uncPath.startsWith("\\pipe\\") ) {
                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          assertEquals(Protocol.HTTP_2, response.protocol)
        }
    
        // Only logs to the test logger above
        // Will fail if "adb shell setprop log.tag.okhttp.Http2 DEBUG" is called
        assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys)
      }
    
      fun testCachedRequest() {
        enableTls()
    
        server.enqueue(MockResponse(body = "abc", headers = Headers.headersOf("cache-control", "public, max-age=3")))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionBean.java

        }
    
        @Override
        public void xsetPaging(boolean paging) {
            // Do nothing because this is unsupported on ConditionBean.
            // And it is possible that this method is called by PagingInvoker.
        }
    
        @Override
        public void enablePagingCountLater() {
            // nothing
        }
    
        @Override
        public void disablePagingCountLater() {
            // nothing
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
        return asMap().keySet();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    # 🔗 ⏎ī¸ 🌾
    
    FastAPI 🐕‍đŸĻē 🔗 👈 <abbr title='sometimes also called "exit", "cleanup", "teardown", "close", "context managers", ...'>➕ 🔁 ⏎ī¸ 🏁</abbr>.
    
    👉, ⚙ī¸ `yield` ↩ī¸ `return`, &amp; ✍ ➕ 🔁 ⏎ī¸.
    
    /// tip
    
    ⚒ 💭 ⚙ī¸ `yield` 1ī¸âƒŖ 👁 🕰.
    
    ///
    
    /// note | "📡 ℹ"
    
    🙆 đŸ”ĸ 👈 ☑ ⚙ī¸ ⏎ī¸:
    
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> ⚖ī¸
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top