Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 6,266 for spring (0.42 sec)

  1. logger/sql.go

    	default:
    		return false
    	}
    }
    
    // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability
    func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string {
    	var (
    		convertParams func(interface{}, int)
    		vars          = make([]string, len(avars))
    	)
    
    	convertParams = func(v interface{}, idx int) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/go/types/resolver_test.go

    	"slices"
    	"testing"
    
    	. "go/types"
    )
    
    type resolveTestImporter struct {
    	importer ImporterFrom
    	imported map[string]bool
    }
    
    func (imp *resolveTestImporter) Import(string) (*Package, error) {
    	panic("should not be called")
    }
    
    func (imp *resolveTestImporter) ImportFrom(path, srcDir string, mode ImportMode) (*Package, error) {
    	if mode != 0 {
    		panic("mode must be 0")
    	}
    	if imp.importer == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/crypto/ecdh/nist.go

    	ScalarBaseMult([]byte) (T, error)
    }
    
    func (c *nistCurve[Point]) String() string {
    	return c.name
    }
    
    var errInvalidPrivateKey = errors.New("crypto/ecdh: invalid private key")
    
    func (c *nistCurve[Point]) GenerateKey(rand io.Reader) (*PrivateKey, error) {
    	if boring.Enabled && rand == boring.RandReader {
    		key, bytes, err := boring.GenerateKeyECDH(c.name)
    		if err != nil {
    			return nil, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/crypto/purego_test.go

    	}
    	pkgs := strings.Split(strings.TrimSpace(string(out)), "\n")
    
    	cmd = exec.Command(testenv.GoToolPath(t), "tool", "dist", "list")
    	cmd.Stderr = os.Stderr
    	out, err = cmd.Output()
    	if err != nil {
    		log.Fatalf("loading architecture list: %v\n%s", err, out)
    	}
    	allGOARCH := make(map[string]bool)
    	for _, pair := range strings.Split(strings.TrimSpace(string(out)), "\n") {
    		GOARCH := strings.Split(pair, "/")[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/crypto/sha512/sha512.go

    	}
    	switch {
    	case d.function == crypto.SHA384 && string(b[:len(magic384)]) == magic384:
    	case d.function == crypto.SHA512_224 && string(b[:len(magic512_224)]) == magic512_224:
    	case d.function == crypto.SHA512_256 && string(b[:len(magic512_256)]) == magic512_256:
    	case d.function == crypto.SHA512 && string(b[:len(magic512)]) == magic512:
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/algkind_string.go

    var _AlgKind_index = [...]uint8{0, 3, 7, 12, 15, 19, 23, 28, 33, 38, 44, 50, 55, 63, 70, 77, 83, 90, 97}
    
    func (i AlgKind) String() string {
    	if i < 0 || i >= AlgKind(len(_AlgKind_index)-1) {
    		return "AlgKind(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _AlgKind_name[_AlgKind_index[i]:_AlgKind_index[i+1]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/mangling_util.h"
    
    #include <cstring>
    #include <string>
    
    #include "absl/strings/match.h"
    #include "absl/strings/str_cat.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.h"
    #include "tensorflow/core/framework/tensor.pb.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-remove.go

    		l.LogAndFatal(err)
    	}
    	rs, err := reconciler.GetPrunedResources(orArgs.revision, false, string(name.IstioOperatorComponentName))
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    	if err := reconciler.DeleteObjectsList(rs, string(name.IstioOperatorComponentName)); err != nil {
    		l.LogAndFatal(err)
    	}
    
    	l.LogAndPrint(color.New(color.FgGreen).Sprint("✔ ") + "Removal complete")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/object_test.go

    	}
    
    	// original and embedded Error object should be identical
    	if orig != embed {
    		t.Fatalf("%s (%p) != %s (%p)", orig, orig, embed, embed)
    	}
    }
    
    var testObjects = []struct {
    	src   string
    	obj   string
    	want  string
    	alias bool // needs materialized aliases
    }{
    	{"import \"io\"; var r io.Reader", "r", "var p.r io.Reader", false},
    
    	{"const c = 1.2", "c", "const p.c untyped float", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/compress/lzw/reader_test.go

    // license that can be found in the LICENSE file.
    
    package lzw
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"math"
    	"os"
    	"runtime"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    type lzwTest struct {
    	desc       string
    	raw        string
    	compressed string
    	err        error
    }
    
    var lzwTests = []lzwTest{
    	{
    		"empty;LSB;8",
    		"",
    		"\x01\x01",
    		nil,
    	},
    	{
    		"empty;MSB;8",
    		"",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:58 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top