- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 1,179 for _func (0.03 sec)
-
clause/values.go
package clause type Values struct { Columns []Column Values [][]interface{} } // Name from clause name func (Values) Name() string { return "VALUES" } // Build build from clause func (values Values) Build(builder Builder) { if len(values.Columns) > 0 { builder.WriteByte('(') for idx, column := range values.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun May 24 03:35:19 UTC 2020 - 849 bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
package lock import ( "encoding/xml" "errors" "fmt" "net/http" "reflect" "strings" "testing" "time" xhttp "github.com/minio/minio/internal/http" ) func TestParseMode(t *testing.T) { testCases := []struct { value string expectedMode RetMode }{ { value: "governance", expectedMode: RetGovernance, }, {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
"github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *BitrotAlgorithm) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 uint zb0001, err = dc.ReadUint() if err != nil { err = msgp.WrapError(err) return } (*z) = BitrotAlgorithm(zb0001) } return } // EncodeMsg implements msgp.Encodable func (z BitrotAlgorithm) EncodeMsg(en *msgp.Writer) (err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 41.2K bytes - Viewed (0) -
cmd/os-readdir-common.go
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}) } // Return up to count entries at the directory dirPath. func readDirN(dirPath string, count int) (entries []string, err error) { return readDirWithOpts(dirPath, readDirOpts{count: count})
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/metacache-manager.go
trash map[string]metacache // Recently deleted lists. } const metacacheMaxEntries = 5000 // initManager will start async saving the cache. func (m *metacacheManager) initManager() { // Add a transient bucket. // Start saver when object layer is ready. go func() { objAPI := newObjectLayerFn() for objAPI == nil { time.Sleep(time.Second) objAPI = newObjectLayerFn() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
cmd/metacache-server-pool.go
"github.com/minio/minio/internal/grid" xioutil "github.com/minio/minio/internal/ioutil" ) func renameAllBucketMetacache(epPath string) error { // Rename all previous `.minio.sys/buckets/<bucketname>/.metacache` to // to `.minio.sys/tmp/` for deletion. return readDirFn(pathJoin(epPath, minioMetaBucket, bucketMetaPrefix), func(name string, typ os.FileMode) error { if typ == os.ModeDir {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/api/testdata/src/issue21181/p/p.go
package p import ( "dep" ) type algo struct { indrt func(dep.Interface)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 05 17:53:43 UTC 2018 - 78 bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
t.Errorf("Read error: got %T, want testError1", err) } } func TestRingBufferCloseErrorUnblocks(t *testing.T) { const sz = 100 rb := New(sz).SetBlocking(true) testCancel := func(fn func()) { t.Helper() defer timeout(5 * time.Second)() rb.Reset() done := make(chan struct{}) go func() { defer close(done) time.Sleep(10 * time.Millisecond) fn() }()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
internal/config/lambda/event/arn_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "testing" ) func TestARNString(t *testing.T) { testCases := []struct { arn ARN expectedResult string }{ {ARN{}, ""}, {ARN{TargetID{"1", "webhook"}, ""}, "arn:minio:s3-object-lambda::1:webhook"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/policy_test.go
import ( "reflect" "testing" miniogopolicy "github.com/minio/minio-go/v7/pkg/policy" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/pkg/v3/policy" "github.com/minio/pkg/v3/policy/condition" ) func TestPolicySysIsAllowed(t *testing.T) { p := &policy.BucketPolicy{ Version: policy.DefaultVersion, Statements: []policy.BPStatement{ policy.NewBPStatement("", policy.Allow, policy.NewPrincipal("*"),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.9K bytes - Viewed (0)