Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 540 for fprintf (0.13 sec)

  1. src/archive/zip/writer_test.go

    	}
    
    	want, err := os.ReadFile("testdata/time-go.zip")
    	if err != nil {
    		t.Fatalf("unexpected ReadFile error: %v", err)
    	}
    	if got := buf.Bytes(); !bytes.Equal(got, want) {
    		fmt.Printf("%x\n%x\n", got, want)
    		t.Error("contents of time-go.zip differ")
    	}
    }
    
    func TestWriterOffset(t *testing.T) {
    	largeData := make([]byte, 1<<17)
    	if _, err := rand.Read(largeData); err != nil {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. tests/joins_test.go

    	}
    }
    
    func TestJoinsPreload_Issue7013(t *testing.T) {
    	manager := &User{Name: "Manager"}
    	DB.Create(manager)
    
    	var userIDs []uint
    	for i := 0; i < 21; i++ {
    		user := &User{Name: fmt.Sprintf("User%d", i), ManagerID: &manager.ID}
    		DB.Create(user)
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var entries []User
    	assert.NotPanics(t, func() {
    		assert.NoError(t,
    			DB.Debug().Preload("Manager.Team").
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

     *
     * This script is to check if there is any merge commit that brings changes from release branch to master.
     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
        private static final THREAD_POOL = Executors.newCachedThreadPool()
    
        private static final List<String> MONITORED_FILES = [
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. docs/iam/policies/pbac-tests.sh

    	apt install openssl || sudo apt install opensssl
    fi
    
    # Start KES Server
    (./kes server --dev 2>&1 >kes-server.log) &
    kes_pid=$!
    sleep 5s
    API_KEY=$(grep "API Key" <kes-server.log | awk -F" " '{print $3}')
    (openssl s_client -connect 127.0.0.1:7373 2>/dev/null 1>public.crt)
    
    export CI=true
    export MINIO_KMS_KES_ENDPOINT=https://127.0.0.1:7373
    export MINIO_KMS_KES_API_KEY="${API_KEY}"
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/iam/identity-management-plugin.md

    If provided, the auth token parameter is sent as an authorization header.
    
    `MINIO_IDENTITY_PLUGIN_ROLE_POLICY` is a required parameter and can be list of comma separated policy names.
    
    On setting up the plugin, the MinIO server prints the Role ARN to its log. The Role ARN is generated by default based on the given plugin URL. To avoid this and use a configurable value set a unique role ID via `MINIO_IDENTITY_PLUGIN_ROLE_ID`.
    
    ## REST API call to plugin
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	defer func() {
    		if rinfo.ReplicationStatus == replication.Completed && tgt.ResetID != "" && dobj.OpType == replication.ExistingObjectReplicationType {
    			rinfo.ResyncTimestamp = fmt.Sprintf("%s;%s", UTCNow().Format(http.TimeFormat), tgt.ResetID)
    		}
    	}()
    
    	if dobj.VersionID == "" && rinfo.PrevReplicationStatus == replication.Completed && dobj.OpType != replication.ExistingObjectReplicationType {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. buildscripts/checkdeps.sh

    		exit 1
    	fi
    }
    
    assert_check_deps() {
    	# support unusual Git versions such as: 2.7.4 (Apple Git-66)
    	installed_git_version=$(git version | perl -ne '$_ =~ m/git version (.*?)( |$)/; print "$1\n";')
    	if ! check_minimum_version "${GIT_VERSION}" "${installed_git_version}"; then
    		echo "Git version '${installed_git_version}' is not supported. Minimum supported version: ${GIT_VERSION}"
    		exit 1
    	fi
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/namespace-lock.go

    		filename = pathutil.Base(filename)
    		funcName = strings.TrimPrefix(runtime.FuncForPC(pc).Name(),
    			"github.com/minio/minio/cmd.")
    	} else {
    		filename = "<unknown>"
    		lineNum = 0
    	}
    
    	return fmt.Sprintf("[%s:%d:%s()]", filename, lineNum, funcName)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    	tags["merrs"] = joinErrs(errs)
    	tags["derrs"] = fmt.Sprintf("%v", dataErrsByPart)
    	if m.IsValid() {
    		tags["sz"] = strconv.FormatInt(m.Size, 10)
    		tags["mt"] = m.ModTime.Format(iso8601Format)
    		tags["d:p"] = fmt.Sprintf("%d:%d", m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    	} else {
    		tags["invalid"] = "1"
    		tags["d:p"] = fmt.Sprintf("%d:%d", er.setDriveCount-er.defaultParityCount, er.defaultParityCount)
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 78.5K bytes
    - Viewed (0)
  10. finisher_api.go

    		if !db.DisableNestedTransaction {
    			spID := new(maphash.Hash).Sum64()
    			err = db.SavePoint(fmt.Sprintf("sp%d", spID)).Error
    			if err != nil {
    				return
    			}
    			defer func() {
    				// Make sure to rollback when panic, Block error or Commit error
    				if panicked || err != nil {
    					db.RollbackTo(fmt.Sprintf("sp%d", spID))
    				}
    			}()
    		}
    		err = fc(db.Session(&Session{NewDB: db.clone == 1}))
    	} else {
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top