Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for biglen (0.18 sec)

  1. fastapi/applications.py

                    [FastAPI docs for Additional Responses in OpenAPI](https://fastapi.tiangolo.com/advanced/additional-responses/).
    
                    And in the
                    [FastAPI docs for Bigger Applications](https://fastapi.tiangolo.com/tutorial/bigger-applications/#include-an-apirouter-with-a-custom-prefix-tags-responses-and-dependencies).
                    """
                ),
            ] = None,
            callbacks: Annotated[
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. src/reflect/value.go

    }
    
    func (v Value) bytesSlow() []byte {
    	switch v.kind() {
    	case Slice:
    		if v.typ().Elem().Kind() != abi.Uint8 {
    			panic("reflect.Value.Bytes of non-byte slice")
    		}
    		// Slice is always bigger than a word; assume flagIndir.
    		return *(*[]byte)(v.ptr)
    	case Array:
    		if v.typ().Elem().Kind() != abi.Uint8 {
    			panic("reflect.Value.Bytes of non-byte array")
    		}
    		if !v.CanAddr() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    	cleanup = func() {} // no cleanup by default
    
    	var argLen int
    	for _, arg := range cmd.Args {
    		argLen += len(arg)
    	}
    
    	// If we're not approaching 32KB of args, just pass args normally.
    	// (use 30KB instead to be conservative; not sure how accounting is done)
    	if !useResponseFile(cmd.Path, argLen) {
    		return
    	}
    
    	tf, err := os.CreateTemp("", "args")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. src/crypto/x509/x509_test.go

    	tests := []struct {
    		bytes  []byte
    		bitLen int
    	}{
    		{nil, 0},
    		{[]byte{0x00}, 0},
    		{[]byte{0x00, 0x00}, 0},
    		{[]byte{0xf0}, 4},
    		{[]byte{0x88}, 5},
    		{[]byte{0xff}, 8},
    		{[]byte{0xff, 0x80}, 9},
    		{[]byte{0xff, 0x81}, 16},
    	}
    
    	for i, test := range tests {
    		if got := asn1BitLength(test.bytes); got != test.bitLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	}
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	// Tags XML will not be bigger than 1MiB in size, fail if its bigger.
    	tags, err := tags.ParseObjectXML(io.LimitReader(r.Body, 1<<20))
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        require_use_buffer_offset_ = true;
        return std::nullopt;
      }
      if (flatbuffer_limit_exceeded) {
        LOG(ERROR) << "Model structure size is bigger than 2gb";
        return std::nullopt;
      }
      tflite::UpdateOpVersion(builder_.GetBufferPointer());
      tflite::UpdateMinimumRuntimeVersionForModel(builder_.GetBufferPointer());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    // It returns a *Package describing the package found in that directory.
    // loadImport does not set tool flags and should only be used by
    // this package, as part of a bigger load operation.
    // The returned PackageError, if any, describes why parent is not allowed
    // to import the named package, with the error referring to importPos.
    // The PackageError can only be non-nil when parent is not nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    			expectedDeletions:       1,
    			expectedFailed:          1,
    			expectedCondition:       batch.JobFailed,
    			expectedConditionReason: batch.JobReasonDeadlineExceeded,
    		},
    		"activeDeadlineSeconds bigger than single pod execution": {
    			parallelism:             1,
    			completions:             2,
    			activeDeadlineSeconds:   10,
    			startTime:               15,
    			backoffLimit:            6,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    	}
    
    	ls := &oneConnListener{conn}
    	go Serve(ls, HandlerFunc(func(rw ResponseWriter, req *Request) {
    		defer close(done)
    		if bufLen := readBufLen(); bufLen < len(body)/2 {
    			t.Errorf("on request, read buffer length is %d; expected about 100 KB", bufLen)
    		}
    		rw.WriteHeader(200)
    		rw.(Flusher).Flush()
    		if g, e := readBufLen(), 0; g != e {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  10. src/runtime/proc.go

    // really pointers (back into the stack).
    // In practice, this means that we make the fast path run through
    // entersyscall doing no-split things, and the slow path has to use systemstack
    // to run bigger things on the system stack.
    //
    // reentersyscall is the entry point used by cgo callbacks, where explicitly
    // saved SP and PC are restored. This is needed when exitsyscall will be called
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top