Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 536 for fprintf (0.12 sec)

  1. src/cmd/asm/internal/asm/asm.go

    		next++
    	}
    
    	// Final operand is an immediate constant.
    	addr := p.address(operands[next])
    	if !p.validImmediate("GLOBL", &addr) {
    		return
    	}
    
    	// log.Printf("GLOBL %s %d, $%d", name, flag, size)
    	p.ctxt.GloblPos(nameAddr.Sym, addr.Offset, int(flag), p.pos())
    }
    
    // asmPCData assembles a PCDATA pseudo-op.
    // PCDATA $2, $705
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    	switch x := v.value.(type) {
    	case nil:
    		return ":NULL"
    	case bool, int64, float64:
    		return fmt.Sprintf("%v:%s", v.value, v.GetTypeString())
    	case time.Time:
    		return fmt.Sprintf("%s:TIMESTAMP", x)
    	case string:
    		return fmt.Sprintf("\"%s\":%s", x, v.GetTypeString())
    	case []byte:
    		return fmt.Sprintf("\"%s\":BYTES", string(x))
    	case []Value:
    		var s strings.Builder
    		s.WriteByte('[')
    		for i, v := range x {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    		partsMetadata[index].Fresh = true
    		partsMetadata[index].ModTime = modTime
    		partsMetadata[index].Metadata = userDefined
    	}
    	uploadUUID := fmt.Sprintf("%sx%d", mustGetUUID(), modTime.UnixNano())
    	uploadID := base64.RawURLEncoding.EncodeToString([]byte(fmt.Sprintf("%s.%s", globalDeploymentID(), uploadUUID)))
    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadUUID)
    
    	// Write updated `xl.meta` to all disks.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex_test.go

    			if n != 10000 {
    				panic(fmt.Sprintf("wlock(%d)\n", n))
    			}
    			for i := 0; i < 100; i++ {
    			}
    			atomic.AddInt32(activity, -10000)
    			rwm.Unlock(context.Background())
    		}
    	}
    	cdone <- true
    }
    
    // Borrowed from rwmutex_test.go
    func hammerRWMutex(t *testing.T, gomaxprocs, numReaders, numIterations int) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  5. docs/sts/custom-token-identity.go

    	}
    
    	// Use minIO Client object normally like the regular client.
    	fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList)
    	objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{})
    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. logger/sql_test.go

    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd, js, es},
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. cmd/warm-backend-s3.go

    		object = params[0]
    	}
    
    	return ErrorRespToObjectError(err, s3.Bucket, s3.getDest(object))
    }
    
    func (s3 *warmBackendS3) getDest(object string) string {
    	destObj := object
    	if s3.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    	}
    	return destObj
    }
    
    func (s3 *warmBackendS3) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/os-readdir_test.go

    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("symlinks not available on windows")
    		return nil
    	}
    	dir := t.TempDir()
    	entries := []string{}
    	for i := 0; i < 10; i++ {
    		name1 := fmt.Sprintf("file-%d", i)
    		name2 := fmt.Sprintf("file-%d", i+10)
    		if err := os.WriteFile(filepath.Join(dir, name1), []byte{}, os.ModePerm); err != nil {
    			// For cleanup, its required to add these entries into test results.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  9. src/cmd/api/boring_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func init() {
    	fmt.Printf("SKIP with boringcrypto enabled\n")
    	os.Exit(0)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Aug 16 16:02:26 UTC 2023
    - 300 bytes
    - Viewed (0)
  10. statement_test.go

    )
    
    func TestWhereCloneCorruption(t *testing.T) {
    	for whereCount := 1; whereCount <= 8; whereCount++ {
    		t.Run(fmt.Sprintf("w=%d", whereCount), func(t *testing.T) {
    			s := new(Statement)
    			for w := 0; w < whereCount; w++ {
    				s = s.clone()
    				s.AddClause(clause.Where{
    					Exprs: s.BuildCondition(fmt.Sprintf("where%d", w)),
    				})
    			}
    
    			s1 := s.clone()
    			s1.AddClause(clause.Where{
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Sat Dec 23 13:19:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top