Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 619 for dprintf (0.07 sec)

  1. src/archive/tar/strconv.go

    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    // If parsing is successful, it will slice off the currently read record and
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. .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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. .github/workflows/ci.yml

          - name: 'Test'
            shell: bash
            run: ./mvnw -B -P!standard-with-extra-repos verify -U -Dmaven.javadoc.skip=true -f $ROOT_POM
          - name: 'Print Surefire reports'
            # Note: Normally a step won't run if the job has failed, but this causes it to
            if: ${{ failure() }}
            shell: bash
            run: ./util/print_surefire_reports.sh
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 29 18:53:45 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. cmd/api-response.go

    		w.Header().Set(xhttp.RetryAfter, "60")
    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region())
    	case "AuthorizationHeaderMalformed":
    		err.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region())
    	}
    
    	// Similar check to http.checkWriteHeaderCode
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    //
    // - sftp.Fileread
    // - sftp.Filewrite
    // - sftp.Filelist
    // - sftp.Filecmd
    func NewSFTPDriver(perms *ssh.Permissions) sftp.Handlers {
    	handler := &sftpDriver{endpoint: fmt.Sprintf("127.0.0.1:%s", globalMinioPort), permissions: perms}
    	return sftp.Handlers{
    		FileGet:  handler,
    		FilePut:  handler,
    		FileCmd:  handler,
    		FileList: handler,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. tests/associations_many2many_test.go

    	if err != nil {
    		t.Fatalf("open test connection failed, err: %+v", err)
    	}
    
    	count := 3
    
    	var languages []Language
    	for i := 0; i < count; i++ {
    		language := Language{Code: fmt.Sprintf("consurrent %d", i)}
    		db.Create(&language)
    		languages = append(languages, language)
    	}
    
    	user := User{}
    	db.Create(&user)
    	db.Preload("Languages").FirstOrCreate(&user)
    
    	var wg sync.WaitGroup
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
Back to top