Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 105 for chancap (0.29 sec)

  1. src/internal/trace/testdata/testprog/wait-on-pipe.go

    	go func() {
    		var data [1]byte
    		_, err := syscall.Read(rfd, data[:])
    		if err != nil {
    			log.Fatalf("failed to read from pipe: %v", err)
    		}
    		done <- struct{}{}
    	}()
    
    	// Give the goroutine ample chance to block on the pipe.
    	time.Sleep(10 * time.Millisecond)
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/testprog/annotations-stress.go

    					trace.Logf(ctx, "log", "fanout region%d", i)
    					if i == 2 {
    						do(ctx, 0)
    						return
    					}
    				})
    			}(i)
    		}
    	})
    
    	// Sleep to let things happen, but also increase the chance that we
    	// advance a generation.
    	time.Sleep(10 * time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/os/exec_unix_test.go

    		t.Errorf("got %v want %v", got, ErrProcessDone)
    	}
    }
    
    // Lookup of a process that does not exist at time of lookup.
    func TestProcessAlreadyDone(t *testing.T) {
    	// Theoretically MaxInt32 is a valid PID, but the chance of it actually
    	// being used is extremely unlikely.
    	pid := math.MaxInt32
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. docs/en/docs/help-fastapi.md

    * In many cases, it's better to understand their **underlying problem or use case**, because there might be a better way to solve it than what they are trying to do.
    
    ### Ask to close
    
    If they reply, there's a high chance you would have solved their problem, congrats, **you're a hero**! 🦸
    
    * Now, if that solved their problem, you can ask them to:
    
        * In GitHub Discussions: mark the comment as the **answer**.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy

            server.expect("handle:b")
            server.expect("serviceClosed")
    
            def build = executer.withTasks("b").start()
    
            handleA.waitForAllPendingCalls()
            // Increase the chance of the test to detect a broken implementation that doesn't wait for events to be processed before closing the service.
            sleep(1000)
            handleA.releaseAll()
    
            result = build.waitForFinish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/stacks.go

    		var data [1]byte
    		rp.Read(data[:])
    		pipeReadDone <- true
    	}()
    
    	time.Sleep(100 * time.Millisecond)
    	runtime.GC()
    	runtime.Gosched()
    	time.Sleep(100 * time.Millisecond) // the last chance for the goroutines above to block
    	done1 <- true
    	<-done2
    	select {
    	case c1 <- 0:
    	case c2 <- 0:
    	}
    	mu.Unlock()
    	wg.Done()
    	cv.Signal()
    	c, err := net.Dial("tcp", ln.Addr().String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

     * When such a classloader attempts to define a class, the agent calls {@link #instrumentClass(String, ProtectionDomain, byte[])} method
     * giving the classloader a chance to rewrite the bytecode of the class.
     * <p>
     * Methods defined in this interface may be called concurrently in multiple threads.
     */
    public interface InstrumentingClassLoader {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs/pt/docs/help-fastapi.md

    do FastAPI.
    
    !!! tip "Dica"
        Para perguntas, pergunte nas <a href="https://github.com/tiangolo/fastapi/issues/new/choose" class="external-link" target="_blank">questões do GitHub</a>, lá tem um chance maior de você ser ajudado sobre o FastAPI [FastAPI Experts](fastapi-people.md#especialistas){.internal-link target=_blank}.
    
        Use o chat apenas para outro tipo de assunto.
    
    ### Não faça perguntas no chat
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    		s.Fatalf("cannot inline len(chan)") // must use runtime.chanlen now
    	}
    	if n.X.Type().IsChan() && n.Op() == ir.OCAP {
    		s.Fatalf("cannot inline cap(chan)") // must use runtime.chancap now
    	}
    	// if n == nil {
    	//   return 0
    	// } else {
    	//   // len
    	//   return *((*int)n)
    	//   // cap
    	//   return *(((*int)n)+1)
    	// }
    	lenType := n.Type()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa.go

    	k = bigmod.NewNat()
    	for {
    		b := make([]byte, c.N.Size())
    		if _, err = io.ReadFull(rand, b); err != nil {
    			return
    		}
    
    		// Mask off any excess bits to increase the chance of hitting a value in
    		// (0, N). These are the most dangerous lines in the package and maybe in
    		// the library: a single bit of bias in the selection of nonces would likely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top