Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 364 for Nath (0.21 sec)

  1. src/cmd/api/main_test.go

    // library and the packages they themselves import in w's build context.
    //
    // The source import path and expanded import path are identical except for vendored packages.
    // For example, on return:
    //
    //	w.importMap["math"] = "math"
    //	w.importDir["math"] = "<goroot>/src/math"
    //
    //	w.importMap["golang.org/x/net/route"] = "vendor/golang.org/x/net/route"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    	}, {
    		in: []sparseEntry{{0, 0}}, size: -100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{math.MaxInt64, 3}, {6, -5}}, size: 35,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{1, 3}, {6, -5}}, size: 35,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{math.MaxInt64, math.MaxInt64}}, size: math.MaxInt64,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{3, 3}}, size: 5,
    		wantValid: false,
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. tests/tests_test.go

    package tests_test
    
    import (
    	"log"
    	"math/rand"
    	"os"
    	"path/filepath"
    	"time"
    
    	"gorm.io/driver/mysql"
    	"gorm.io/driver/postgres"
    	"gorm.io/driver/sqlite"
    	"gorm.io/driver/sqlserver"
    	"gorm.io/gorm"
    	"gorm.io/gorm/logger"
    	. "gorm.io/gorm/utils/tests"
    )
    
    var DB *gorm.DB
    var (
    	mysqlDSN     = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  4. cmd/data-usage-cache.go

    		e, ok := d.Cache[path.Key()]
    		if !ok {
    			return
    		}
    		if len(e.Children) == 0 {
    			return
    		}
    		sz := d.sizeRecursive(path.Key())
    		leaves = append(leaves, struct {
    			objects uint64
    			path    dataUsageHash
    		}{objects: sz.Objects, path: path})
    		for ch := range e.Children {
    			add(dataUsageHash(ch))
    		}
    	}
    
    	// Add path recursively.
    	add(path)
    	sort.Slice(leaves, func(i, j int) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. cmd/admin-handlers.go

    			mapIfNotPresent(hostAnonymizer, schemePfx+endpoint.Host, newHostPort)
    		}
    
    		newHostPortPath := newHostPort
    		if len(endpoint.Path) > 0 {
    			// Host + port + path
    			currentHostPortPath := endpoint.Host + endpoint.Path
    			newHostPortPath = newHostPort + endpoint.Path
    			mapIfNotPresent(hostAnonymizer, currentHostPortPath, newHostPortPath)
    			mapIfNotPresent(hostAnonymizer, schemePfx+currentHostPortPath, newHostPortPath)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. cmd/metacache-set.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/object/lock"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. cmd/perf-tests.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/gob"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. cmd/os-reliable_test.go

    		t.Fatal(err)
    	}
    	if err = renameAll("", "foo", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll("foo", "", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll(pathJoin(path, "testvolume1"), pathJoin(path, "testvolume2"), ""); err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. cmd/storage-interface.go

    	Delete(ctx context.Context, volume string, path string, opts DeleteOptions) (err error)
    	VerifyFile(ctx context.Context, volume, path string, fi FileInfo) error
    	StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error)
    	ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error
    	CleanAbandonedData(ctx context.Context, volume string, path string) error
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    func hasBadPathComponent(path string) bool {
    	if len(path) > 4096 {
    		// path cannot be greater than Linux PATH_MAX
    		// this is to avoid a busy loop, that can happen
    		// if the caller sends path of following style
    		// a/a/a/a/a/a/a/a...
    		return true
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top