Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 633 for lwsync (0.18 sec)

  1. docs/de/docs/async.md

    Gleichzeitig müssen aber mit `async def` definierte Funktionen „erwartet“ („awaited“) werden. Daher können Funktionen mit `async def` nur innerhalb von Funktionen aufgerufen werden, die auch mit `async def` definiert sind.
    
    Daraus resultiert das Ei-und-Huhn-Problem: Wie ruft man die erste `async` Funktion auf?
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:06:16 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. docs/em/docs/async.md

    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### 🌅 📡 ℹ
    
    👆 💪 ✔️ 👀 👈 `await` 💪 🕴 ⚙️ 🔘 🔢 🔬 ⏮️ `async def`.
    
    ✋️ 🎏 🕰, 🔢 🔬 ⏮️ `async def` ✔️ "⌛". , 🔢 ⏮️ `async def` 💪 🕴 🤙 🔘 🔢 🔬 ⏮️ `async def` 💁‍♂️.
    
    , 🔃 🥚 & 🐔, ❔ 👆 🤙 🥇 `async` 🔢 ❓
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. docs/ko/docs/async.md

    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### 더 세부적인 기술적 사항
    
    `await`가 `async def`를 사용하는 함수 내부에서만 사용이 가능하다는 것을 눈치채셨을 것입니다.
    
    하지만 동시에, `async def`로 정의된 함수들은 "대기"되어야만 합니다. 따라서, `async def`를 사용한 함수들은 역시 `async def`를 사용한 함수 내부에서만 호출될 수 있습니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. src/internal/pkgbits/sync.go

    // SyncMarker is an enum type that represents markers that may be
    // written to export data to ensure the reader and writer stay
    // synchronized.
    type SyncMarker int
    
    //go:generate stringer -type=SyncMarker -trimprefix=Sync
    
    const (
    	_ SyncMarker = iota
    
    	// Public markers (known to go/types importers).
    
    	// Low-level coding markers.
    	SyncEOF
    	SyncBool
    	SyncInt64
    	SyncUint64
    	SyncString
    	SyncValue
    	SyncVal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/workcmd/sync.go

    // go work sync
    
    package workcmd
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/imports"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/toolchain"
    	"context"
    
    	"golang.org/x/mod/module"
    )
    
    var cmdSync = &base.Command{
    	UsageLine: "go work sync",
    	Short:     "sync workspace build list to modules",
    	Long: `Sync syncs the workspace's build list back to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. test/fixedbugs/issue19467.dir/z.go

    package main
    
    import (
    	"log"
    	"runtime"
    
    	"./mysync"
    )
    
    func main() {
    	var wg mysync.WaitGroup
    	wg.Done()
    	ci := runtime.CallersFrames(wg.Callers)
    	frames := make([]runtime.Frame, 0, 4)
    	for {
    		frame, more := ci.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    	expecting := []string{
    		"test/mysync.(*WaitGroup).Add",
    		"test/mysync.(*WaitGroup).Done",
    	}
    	for i := 0; i < 2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 696 bytes
    - Viewed (0)
  7. pkg/controller/nodeipam/ipam/timeout.go

    import (
    	"time"
    )
    
    // Timeout manages the resync loop timing for a given node sync operation. The
    // timeout changes depending on whether or not there was an error reported for
    // the operation. Consecutive errors will result in exponential backoff to a
    // maxBackoff timeout.
    type Timeout struct {
    	// Resync is the default timeout duration when there are no errors.
    	Resync time.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 20:48:08 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  8. internal/dsync/dsync-client_test.go

    // GNU Affero General Public License for more details.
    //
    // 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 dsync
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"net/http"
    	"net/url"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/rest"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  9. internal/dsync/dsync-server_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/mux"
    )
    
    const numberOfNodes = 5
    
    var (
    	ds          *Dsync
    	nodes       = make([]*httptest.Server, numberOfNodes) // list of node IP addrs or hostname with ports.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/device_compilation_profiler_test.cc

      EXPECT_TRUE(
          profiler->ShouldCompileCluster(function, DeviceCompileMode::kAsync, 0));
    
      // Should not allow compilation since this is not the first execution and
      // we've already reached the maximum number of ongoing compilations allowed.
      profiler->RegisterExecution(function);
      EXPECT_FALSE(
          profiler->ShouldCompileCluster(function, DeviceCompileMode::kAsync, 0));
    
      profiler->DecrementOngoingAsyncCompilations();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 22 21:06:33 UTC 2022
    - 8.7K bytes
    - Viewed (0)
Back to top