Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 392 for asSlice (0.16 sec)

  1. docs_src/security/tutorial005.py

            "email": "******@****.***",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Chains",
            "email": "******@****.***",
            "hashed_password": "$2b$12$gSvqqUPvlXP2tfVFaWK1Be7DlH.PKZbv5H8KnzzVgXXbVxpva.pFm",
            "disabled": True,
        },
    }
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_an.py

            "email": "******@****.***",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Chains",
            "email": "******@****.***",
            "hashed_password": "$2b$12$gSvqqUPvlXP2tfVFaWK1Be7DlH.PKZbv5H8KnzzVgXXbVxpva.pFm",
            "disabled": True,
        },
    }
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/encoding/gob/encgen.go

    const arrayHelper = `
    func enc%[2]sArray(state *encoderState, v reflect.Value) bool {
    	// Can only slice if it is addressable.
    	if !v.CanAddr() {
    		return false
    	}
    	return enc%[2]sSlice(state, v.Slice(0, v.Len()))
    }
    `
    
    const sliceHelper = `
    func enc%[2]sSlice(state *encoderState, v reflect.Value) bool {
    	slice, ok := v.Interface().([]%[1]s)
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug_lines_test.go

    	"reflect"
    	"regexp"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    // Matches lines in genssa output that are marked "isstmt", and the parenthesized plus-prefixed line number is a submatch
    var asmLine *regexp.Regexp = regexp.MustCompile(`^\s[vb]\d+\s+\d+\s\(\+(\d+)\)`)
    
    // this matches e.g.                            `   v123456789   000007   (+9876654310) MOVUPS	X15, ""..autotmp_2-32(SP)`
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/hash_test.go

    package cache
    
    import (
    	"fmt"
    	"os"
    	"testing"
    )
    
    func TestHash(t *testing.T) {
    	oldSalt := hashSalt
    	hashSalt = nil
    	defer func() {
    		hashSalt = oldSalt
    	}()
    
    	h := NewHash("alice")
    	h.Write([]byte("hello world"))
    	sum := fmt.Sprintf("%x", h.Sum())
    	want := "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
    	if sum != want {
    		t.Errorf("hash(hello world) = %v, want %v", sum, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. src/go/doc/testdata/blank.go

    type T int
    
    // T constants counting from a blank constant.
    const (
    	_ T = iota
    	T1
    	T2
    )
    
    // T constants counting from unexported constants.
    const (
    	tweedledee T = iota
    	tweedledum
    	C1
    	C2
    	alice
    	C3
    	redQueen int = iota
    	C4
    )
    
    // Constants with a single type that is not propagated.
    const (
    	zero     os.FileMode = 0
    	Default              = 0644
    	Useless              = 0312
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 18:01:14 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  7. src/net/rawconn.go

    //
    // Other packages in std that also import [internal/poll] (such as os)
    // can use a type assertion to access this extension method so that
    // they can pass the *poll.FD to functions like poll.Splice.
    //
    // PollFD is not intended for use outside the standard library.
    func (c *rawConn) PollFD() *poll.FD {
    	if !c.ok() {
    		return nil
    	}
    	return &c.fd.pfd
    }
    
    func newRawConn(fd *netFD) *rawConn {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc

                    "expected tf_executor.island";
    
        // Move inner ops in island to before the outer graph.
        auto& island_body = island_op.GetBody().getOperations();
        parent_block->getOperations().splice(graph_position, island_body,
                                             island_body.begin(),
                                             std::prev(island_body.end()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. operator/pkg/util/reflect.go

    	return t.Kind() == reflect.Ptr && t.Elem().Kind() == reflect.Map
    }
    
    // IsSlice reports whether value is a slice type.
    func IsSlice(value any) bool {
    	return kindOf(value) == reflect.Slice
    }
    
    // IsStruct reports whether value is a struct type
    func IsStruct(value any) bool {
    	return kindOf(value) == reflect.Struct
    }
    
    // IsSlicePtr reports whether v is a slice ptr type.
    func IsSlicePtr(v any) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/materialize_mlir_passthrough_op.cc

        for (const auto &arg_mapping :
             llvm::zip(block.getArguments(), op->getOperands())) {
          std::get<0>(arg_mapping).replaceAllUsesWith(std::get<1>(arg_mapping));
        }
        op->getBlock()->getOperations().splice(op->getIterator(),
                                               block.getOperations(), block.begin(),
                                               std::prev(block.end()));
        Operation &return_op = block.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top