Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 121 for encodeJsp (0.39 sec)

  1. src/archive/tar/strconv.go

    			return 0
    		}
    		if inv == 0xff {
    			return ^int64(x)
    		}
    		return int64(x)
    	}
    
    	// Normal case is base-8 (octal) format.
    	return p.parseOctal(b)
    }
    
    // formatNumeric encodes x into b using base-8 (octal) encoding if possible.
    // Otherwise it will attempt to use base-256 (binary) encoding.
    func (f *formatter) formatNumeric(b []byte, x int64) {
    	if fitsInOctal(len(b), x) {
    		f.formatOctal(b, x)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/custom-response.md

    Das liegt daran, dass FastAPI standardmäßig jedes enthaltene Element überprüft und sicherstellt, dass es als JSON serialisierbar ist, und zwar unter Verwendung desselben [JSON-kompatiblen Encoders](../tutorial/encoder.md){.internal-link target=_blank}, der im Tutorial erläutert wurde. Dadurch können Sie **beliebige Objekte** zurückgeben, zum Beispiel Datenbankmodelle.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTTotalVersions, strconv.Itoa(len(versions)))
    
    	var buffer bytes.Buffer
    	encoder := msgp.NewWriter(&buffer)
    	for _, version := range versions {
    		version.EncodeMsg(encoder)
    	}
    	storageLogIf(ctx, encoder.Flush())
    
    	errs = make([]error, len(versions))
    
    	respBody, err := client.call(ctx, storageRESTMethodDeleteVersions, values, &buffer, -1)
    	defer xhttp.DrainBody(respBody)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    		} else {
    			p.branch(targetAddr, targetProg)
    		}
    	case target.Type == obj.TYPE_MEM && target.Name == obj.NAME_NONE:
    		// JMP 4(R0)
    		*targetAddr = *target
    		// On the ppc64, 9a encodes BR (CTR) as BR CTR. We do the same.
    		if p.arch.Family == sys.PPC64 && target.Offset == 0 {
    			targetAddr.Type = obj.TYPE_REG
    		}
    	case target.Type == obj.TYPE_CONST:
    		// JMP $4
    		*targetAddr = a[0]
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	mw := msgp.NewWriter(rw)
    	responses := make(chan ReadMultipleResp, len(req.Files))
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		for resp := range responses {
    			err := resp.EncodeMsg(mw)
    			if err != nil {
    				rw.CloseWithError(err)
    				return
    			}
    			mw.Flush()
    		}
    	}()
    	err = s.getStorage().ReadMultiple(r.Context(), req, responses)
    	wg.Wait()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    		FileHeader: fh,
    		offset:     uint64(w.cw.count),
    	}
    
    	if strings.HasSuffix(fh.Name, "/") {
    		// Set the compression method to Store to ensure data length is truly zero,
    		// which the writeHeader method always encodes for the size fields.
    		// This is necessary as most compression formats have non-zero lengths
    		// even when compressing an empty string.
    		fh.Method = Store
    		fh.Flags &^= 0x8 // we will not write a data descriptor
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    			AccessTime: time.Unix(1389782991, 419875220),
    			ChangeTime: time.Unix(1389782956, 794414986),
    			Xattrs: map[string]string{
    				"user.key":  "value",
    				"user.key2": "value2",
    				// Interestingly, selinux encodes the terminating null inside the xattr
    				"security.selinux": "unconfined_u:object_r:default_t:s0\x00",
    			},
    			PAXRecords: map[string]string{
    				"mtime":                         "1386065770.44825232",
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    			n, err := mw.Write(data[:])
    			if err != nil {
    				w.CloseWithError(err)
    				return
    			}
    			if n != len(data) {
    				w.CloseWithError(io.ErrShortWrite)
    				return
    			}
    			err = v.EncodeMsg(mw)
    			mw.Flush()
    			w.CloseWithError(err)
    		}()
    		return r
    	}
    
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. fastapi/routing.py

        _should_embed_body_fields,
        get_body_field,
        get_dependant,
        get_flat_dependant,
        get_parameterless_sub_dependant,
        get_typed_return_annotation,
        solve_dependencies,
    )
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import (
        FastAPIError,
        RequestValidationError,
        ResponseValidationError,
        WebSocketRequestValidationError,
    )
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

        * In `encoders.jsonable_encoder`:
            * Remove deprecated `skip_defaults`, use instead `exclude_unset`.
            * Set default of `exclude` from `set()` to `None` (as is in Pydantic).
        * PR [#1862](https://github.com/tiangolo/fastapi/pull/1862).
    * In `encoders.jsonable_encoder` remove parameter `sqlalchemy_safe`.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:51:17 UTC 2024
    - 449.4K bytes
    - Viewed (0)
Back to top