Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,029 for Base (0.03 sec)

  1. internal/s3select/jstream/decoder_test.go

    	}
    
    	// test at depth level 1
    	counter = 0
    	kvcounter := 0
    	decoder = NewDecoder(mkReader(body), 1)
    
    	for mv = range decoder.Stream() {
    		switch mv.Value.(type) {
    		case KV:
    			kvcounter++
    		default:
    			counter++
    		}
    		t.Logf("depth=%d offset=%d len=%d (%v)", mv.Depth, mv.Offset, mv.Length, mv.Value)
    	}
    	if err := decoder.Err(); err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    # ==============================================================================
    #
    # Builds a devtoolset cross-compiler targeting manylinux2014 (glibc 2.17 / libstdc++ 4.8).
    
    VERSION="$1"
    TARGET="$2"
    
    case "${VERSION}" in
    devtoolset-9)
      LIBSTDCXX_VERSION="6.0.28"
      LIBSTDCXX_ABI="new"
      ;;
    devtoolset-10)
      LIBSTDCXX_VERSION="6.0.28"
      LIBSTDCXX_ABI="new"
      ;;
    *)
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		var targetSize int64
    
    		switch {
    		case isDstCompressed:
    			targetSize = -1
    		case !isSourceEncrypted && !isTargetEncrypted:
    			targetSize, _ = srcInfo.GetActualSize()
    		case isSourceEncrypted && isTargetEncrypted:
    			objInfo := ObjectInfo{Size: actualSize}
    			targetSize = objInfo.EncryptedSize()
    		case !isSourceEncrypted && isTargetEncrypted:
    			targetSize = srcInfo.EncryptedSize()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  4. clause/set_test.go

    				clause.Set([]clause.Assignment{{clause.Column{Name: "name"}, "jinzhu"}}),
    			},
    			"UPDATE `users` SET `name`=?",
    			[]interface{}{"jinzhu"},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    }
    
    func TestAssignments(t *testing.T) {
    	set := clause.Assignments(map[string]interface{}{
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. cmd/os-rename_nolinux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    // RenameSys is low level call in case of non-Linux this just uses os.Rename()
    func RenameSys(src, dst string) (err error) {
    	return os.Rename(src, dst)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 985 bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/riscv64.go

    )
    
    // IsRISCV64AMO reports whether the op (as defined by a riscv.A*
    // constant) is one of the AMO instructions that requires special
    // handling.
    func IsRISCV64AMO(op obj.As) bool {
    	switch op {
    	case riscv.ASCW, riscv.ASCD, riscv.AAMOSWAPW, riscv.AAMOSWAPD, riscv.AAMOADDW, riscv.AAMOADDD,
    		riscv.AAMOANDW, riscv.AAMOANDD, riscv.AAMOORW, riscv.AAMOORD, riscv.AAMOXORW, riscv.AAMOXORD,
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Sun Mar 15 08:13:28 UTC 2020
    - 943 bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    		// No need to allocate fully blockSizeV1 buffer if the incoming data is smaller.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 78.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/dataclasses.md

    In some cases, you might still have to use Pydantic's version of `dataclasses`. For example, if you have errors with the automatically generated API documentation.
    
    In that case, you can simply swap the standard `dataclasses` with `pydantic.dataclasses`, which is a drop-in replacement:
    
    ```{ .python .annotate hl_lines="1  5  8-11  14-17  23-25  28" }
    {!../../docs_src/dataclasses/tutorial003.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/advanced-dependencies.md

    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="10"
    {!> ../../docs_src/dependencies/tutorial011.py!}
    ```
    
    ////
    
    In this case, this `__call__` is what **FastAPI** will use to check for additional parameters and sub-dependencies, and this is what will be called to pass a value to the parameter in your *path operation function* later.
    
    ## Parameterize the instance
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/packaging/common/scripts/preinst

    FESS_GROUP="${packaging.fess.group}"
    FESS_USER_HOME="${packaging.fess.var.dir}"
    
    # Source the default env file
    FESS_ENV_FILE="${packaging.env.file}"
    if [ -f "$FESS_ENV_FILE" ]; then
        . "$FESS_ENV_FILE"
    fi
    
    case "$1" in
    
        # Debian ####################################################
        install|upgrade)
    
            # Create fess group if not existing
            if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
Back to top