Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 556 for loom (0.04 seconds)

  1. src/cmd/asm/internal/lex/input.go

    		// Macro has arguments. Scan list of formals.
    		acceptArg := true
    		args = []string{} // Zero length but not nil.
    	Loop:
    		for {
    			tok = in.Stack.Next()
    			switch tok {
    			case ')':
    				tok = in.Stack.Next() // First token of macro definition.
    				break Loop
    			case ',':
    				if acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				acceptArg = true
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. internal/ringbuffer/ring_buffer_benchmark_test.go

    	buf := make([]byte, 512)
    
    	for b.Loop() {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    	for b.Loop() {
    		rb.Write(data)
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        plan0.tcpConnectThrowable = IOException("boom 0!")
        val plan1 = routePlanner.addPlan()
        plan1.tcpConnectThrowable = IOException("boom 1!")
    
        taskRunner.newQueue().execute("connect") {
          assertFailsWith<IOException> {
            finder.find()
          }.also { expected ->
            assertThat(expected).hasMessage("boom 0!")
            assertThat(expected.suppressed.single()).hasMessage("boom 1!")
          }
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  4. internal/s3select/jstream/scanner_test.go

    loop:
    	for {
    		_, err := br.ReadByte()
    		switch err {
    		case nil:
    			continue loop
    		case io.EOF:
    			break loop
    		default:
    			panic(err)
    		}
    	}
    }
    
    func BenchmarkScanner(b *testing.B) {
    	b.Run("small", func(b *testing.B) {
    		for b.Loop() {
    			benchmarkScanner(smallInput)
    		}
    	})
    	b.Run("medium", func(b *testing.B) {
    		for b.Loop() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/openapi-callbacks.md

    This code won't be executed in your app, we only need it to *document* how that *external API* should look like.
    
    But, you already know how to easily create automatic documentation for an API with **FastAPI**.
    
    So we are going to use that same knowledge to document how the *external API* should look like... by creating the *path operation(s)* that the external API should implement (the ones your API will call).
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                    int headerLine = i + 1; // 1-based
                    // Look ahead to find [source, ...] until next sample or end of example block
                    String sourceLang = null;
                    for (int j = i + 1; j < lines.size(); j++) {
                        String look = lines.get(j).trim();
    
                        if (look.equals("[.multi-language-sample]") || look.equals("====")) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. internal/s3select/jstream/decoder_test.go

    	var (
    		counter int
    		mv      *MetaValue
    		body    = `{ "bio": "bada bing bada boom", "id": 1, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 2, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 3, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 4, "name": "Charles" }
    { "bio": "bada bing bada boom", "id": 5, "name": "Charles" }
    `
    	)
    
    	decoder := NewDecoder(mkReader(body), 0)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // Note that if all the futures on the list are done prior to completing this loop, the last
          // call to addListener() will callback to setOneValue(), transitively call our cleanup
          // listener, and set this.futures to null.
          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/async-tests.md

    Se você se deparar com um `RuntimeError: Task attached to a different loop` ao integrar funções assíncronas em seus testes (e.g. ao utilizar o <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MotorClient do MongoDB</a>) Lembre-se de instanciar objetos que precisam de um loop de eventos (*event loop*) apenas em funções assíncronas, e.g. um callback `@app.on_event("startup")`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/netbios/NameServicePacket.java

            end = srcIndex + this.rDataLength;
            /*
             * Apparently readRDataWireFormat can return 0 if resultCode != 0 in
             * which case this will look indefinitely. Putting this else clause around
             * the loop might fix that. But I would need to see a capture to confirm.
             * if (resultCode != 0) {
             * srcIndex += rDataLength;
             * } else {
             */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top