Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for chancap (0.18 sec)

  1. src/reflect/value.go

    	}
    	return v.capNonSlice()
    }
    
    func (v Value) capNonSlice() int {
    	k := v.kind()
    	switch k {
    	case Array:
    		return v.typ().Len()
    	case Chan:
    		return chancap(v.pointer())
    	case Ptr:
    		if v.typ().Elem().Kind() == abi.Array {
    			return v.typ().Elem().Len()
    		}
    		panic("reflect: call of reflect.Value.Cap on ptr to non-array Value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/entity.go

    	"ć":                          "\u0107",
    	"∩":                             "\u2229",
    	"⩄":                          "\u2a44",
    	"⩉":                        "\u2a49",
    	"⩋":                          "\u2a4b",
    	"⩇":                          "\u2a47",
    	"⩀":                          "\u2a40",
    	"∩︀":                            "\u2229\ufe00",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    // TypeWithQualifiers is a type with standard qualifiers.
    type TypeWithQualifiers struct {
    	Base       AST
    	Qualifiers AST
    }
    
    func (twq *TypeWithQualifiers) print(ps *printState) {
    	// Give the base type a chance to print the inner types.
    	ps.inner = append(ps.inner, twq)
    	ps.print(twq.Base)
    	if len(ps.inner) > 0 {
    		// The qualifier wasn't printed by Base.
    		ps.writeByte(' ')
    		ps.print(twq.Qualifiers)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    	tx, err = db.Begin()
    	if err != nil {
    		t.Fatal(err)
    	}
    	tx2, err = db.Begin()
    	if err != nil {
    		t.Fatal(err)
    	}
    	tx.Commit()
    	tx2.Commit()
    
    	// Give connectionCleaner chance to run.
    	waitCondition(t, func() bool {
    		driver.mu.Lock()
    		opens = driver.openCount - opens0
    		closes = driver.closeCount - closes0
    		driver.mu.Unlock()
    
    		return closes == 1
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    		w.Header().Set("Content-Type", "text/plain")
    		var err error
    		// The request context has already been canceled, but
    		// retry the write for a while to give the timeout handler
    		// a chance to notice.
    		for i := 0; i < 100; i++ {
    			_, err = w.Write([]byte("a"))
    			if err != nil {
    				break
    			}
    			time.Sleep(1 * time.Millisecond)
    		}
    		writeErrors <- err
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control_test.go

    	}
    	defer rt.parallelLock.Unlock()
    	// update the local maximum of parallel collisions
    	if rt.maxParallelRequests < rt.parallelRequests {
    		rt.maxParallelRequests = rt.parallelRequests
    	}
    	// increase the chance of collisions
    	if rt.parallelRequestDelay > 0 {
    		time.Sleep(rt.parallelRequestDelay)
    	}
    }
    
    func (rt *requestTracker) incWithOptionalError() error {
    	rt.Lock()
    	defer rt.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  7. src/net/http/server.go

    	c.finalFlush()
    	c.rwc.Close()
    }
    
    // rstAvoidanceDelay is the amount of time we sleep after closing the
    // write side of a TCP connection before closing the entire socket.
    // By sleeping, we increase the chances that the client sees our FIN
    // and processes its final data before they process the subsequent RST
    // from closing a connection with known unread data.
    // This RST seems to occur mostly on BSD systems. (And Windows?)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. fastapi/routing.py

                    )
                    raise validation_error
            if response is None:
                raise FastAPIError(
                    "No response object was returned. There's a high chance that the "
                    "application code is raising an exception and a dependency with yield "
                    "has a block with a bare except, or a block with except Exception, "
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    	// is subtle.
    	//
    	// The moment we CAS into _Gpreempted, suspendG could CAS to
    	// _Gwaiting, do its work, and ready the goroutine. All of
    	// this could happen before we even get the chance to emit
    	// an event. The end result is that the events could appear
    	// out of order, and the tracer generally assumes the scheduler
    	// takes care of the ordering between GoPark and GoUnpark.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__policy__v1_openapi.json

    means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top