- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,598 for var1 (0.09 sec)
-
src/bytes/example_test.go
// 10 } func ExampleBuffer_Grow() { var b bytes.Buffer b.Grow(64) bb := b.Bytes() b.Write([]byte("64 bytes or fewer")) fmt.Printf("%q", bb[:b.Len()]) // Output: "64 bytes or fewer" } func ExampleBuffer_Len() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) fmt.Printf("%d", b.Len()) // Output: 5 } func ExampleBuffer_Next() { var b bytes.Buffer b.Grow(64)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0) -
cni/pkg/constants/constants.go
// K8s liveness and readiness endpoints LivenessEndpoint = "/healthz" ReadinessEndpoint = "/readyz" ReadinessPort = "8000" ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount" ) // Exposed for testing "constants" var ( CNIBinDir = "/opt/cni/bin" HostCNIBinDir = "/host/opt/cni/bin" // Well-known subpath we will mount any needed host-mounts under,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 3K bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
apiL = "api" sectorSize = uint64(512) kib = float64(1 << 10) driveHealthOffline = float64(0) driveHealthOnline = float64(1) driveHealthHealing = float64(2) ) var allDriveLabels = []string{driveL, poolIndexL, setIndexL, driveIndexL} const ( driveUsedBytes = "used_bytes" driveFreeBytes = "free_bytes" driveTotalBytes = "total_bytes"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 12 17:23:50 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/sts/custom-token-identity.go
package main import ( "context" "flag" "fmt" "log" "net/url" "time" "github.com/minio/minio-go/v7" cr "github.com/minio/minio-go/v7/pkg/credentials" ) var ( // LDAP integrated Minio endpoint stsEndpoint string // token to use with AssumeRoleWithCustomToken token string // Role ARN to use roleArn string // Display credentials flag
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 3.4K bytes - Viewed (0) -
tests/main_test.go
. "gorm.io/gorm/utils/tests" ) func TestExceptionsWithInvalidSql(t *testing.T) { if name := DB.Dialector.Name(); name == "sqlserver" { t.Skip("skip sqlserver due to it will raise data race for invalid sql") } var columns []string if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener_test.go
t.Fatalf("failed to connect %v", err) } conn.Close() } func connect(socket string) (*grpc.ClientConn, error) { var opts []grpc.DialOption opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { var d net.Dialer return d.DialContext(ctx, "unix", socket) })) conn, err := grpc.Dial(socket, opts...) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 08 21:58:32 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/grid.go
"github.com/minio/minio/internal/rest" ) // globalGrid is the global grid manager. var globalGrid atomic.Pointer[grid.Manager] // globalLockGrid is the global lock grid manager. var globalLockGrid atomic.Pointer[grid.Manager] // globalGridStart is a channel that will block startup of grid connections until closed. var globalGridStart = make(chan struct{})
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
logger = Logger.getLogger(OkHttpTest::class.java.name) } private var client: OkHttpClient = clientTestRule.newClient() private val moshi = Moshi.Builder() .add(KotlinJsonAdapterFactory()) .build() private val handshakeCertificates = localhost() private lateinit var server: MockWebServer @BeforeEach fun setup(server: MockWebServer) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0) -
cmd/service.go
// Add new service requests here. ) // Global service signal channel. var globalServiceSignalCh = make(chan serviceSignal) // GlobalContext context that is canceled when server is requested to shut down. // cancelGlobalContext can be used to indicate server shutdown. var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/config/subnet/config.go
xnet "github.com/minio/pkg/v3/net" ) const ( baseURL = "https://subnet.min.io" baseURLDev = "http://localhost:9000" ) // DefaultKVS - default KV config for subnet settings var DefaultKVS = config.KVS{ config.KV{ Key: config.License, // Deprecated Dec 2021 Value: "", }, config.KV{ Key: config.APIKey, Value: "", }, config.KV{ Key: config.Proxy, Value: "",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0)