- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,278 for Bool (0.08 sec)
-
docs/debugging/inspect/utils.go
} // Try Raw, return error return x509.ParsePKCS1PrivateKey(priv) } func fatalErr(err error) { if err == nil { return } log.Fatalln(err) } func fatalIf(b bool, msg string, v ...interface{}) { if !b { return } log.Fatalf(msg, v...)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 02 20:36:38 UTC 2022 - 1.4K bytes - Viewed (0) -
cmd/postpolicyform_test.go
"encoding/base64" "fmt" "net/http" "strings" "testing" minio "github.com/minio/minio-go/v7" ) func TestParsePostPolicyForm(t *testing.T) { testCases := []struct { policy string success bool }{ // missing expiration, will fail. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 8.9K bytes - Viewed (0) -
lib/time/mkzip.go
// Usage: // // go run ../../mkzip.go ../../zoneinfo.zip // // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get // a reproducible generator that does not depend on which version of the // external zip tool is used or the ordering of file names in a directory // or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
input := filepath.Join("testdata", file+".s") architecture, ctxt := setArch(goarch) architecture.Init(ctxt) lexer := lex.NewLexer(input) parser := NewParser(ctxt, architecture, lexer) pList := new(obj.Plist) var ok bool testOut = new(strings.Builder) // The assembler writes test output to this buffer. ctxt.Bso = bufio.NewWriter(os.Stdout) ctxt.IsAsm = true defer ctxt.Bso.Flush() failed := false
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Dec 07 18:42:59 UTC 2023 - 11.6K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644) cases := []struct { name string expectedFailure bool k8sServiceProtocol string k8sServiceHost string k8sServicePort string kubeCAFilepath string skipTLSVerify bool }{ { name: "k8s service host not set", expectedFailure: true, }, { name: "k8s service port not set",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/os-readdir-common.go
package cmd // Options for readDir function call type readDirOpts struct { // The maximum number of entries to return count int // Follow directory symlink followDirSymlink bool } // Return all the entries at the directory dirPath. func readDir(dirPath string) (entries []string, err error) { return readDirWithOpts(dirPath, readDirOpts{count: -1}) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 09 23:20:51 UTC 2021 - 1.3K bytes - Viewed (0) -
cmd/notification.go
// LoadRebalanceMeta notifies all peers to load rebalance.bin from object layer. // Note: Only peers participating in rebalance operation, namely the first node // in each pool will load rebalance.bin. func (sys *NotificationSys) LoadRebalanceMeta(ctx context.Context, startRebalance bool) { ng := WithNPeers(len(sys.peerClients)) for idx, client := range sys.peerClients { if client == nil { continue } client := client
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 46.2K bytes - Viewed (0) -
docs_src/security/tutorial003_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 2.4K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail bool err := xml.Unmarshal([]byte(test.xml), &dexp) if test.err == nil { if err != nil { fail = true } } else { if err == nil { fail = true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/bucket/lifecycle/prefix.go
package lifecycle import ( "encoding/xml" ) // Prefix holds the prefix xml tag in <Rule> and <Filter> type Prefix struct { string set bool Unused struct{} // Needed for GOB compatibility } // UnmarshalXML - decodes XML data. func (p *Prefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) { var s string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 15 14:45:25 UTC 2023 - 1.5K bytes - Viewed (0)