Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 712 for sconst (0.07 sec)

  1. cni/pkg/iptables/iptables_linux.go

    func AddLoopbackRoutes(cfg *Config) error {
    	return forEachLoopbackRoute(cfg, "add", netlink.RouteReplace)
    }
    
    func DelLoopbackRoutes(cfg *Config) error {
    	return forEachLoopbackRoute(cfg, "remove", netlink.RouteDel)
    }
    
    const ipv6DisabledLo = "/proc/sys/net/ipv6/conf/lo/disable_ipv6"
    
    func ReadSysctl(key string) (string, error) {
    	data, err := os.ReadFile(key)
    	if err != nil {
    		return "", err
    	}
    	return strings.TrimSpace(string(data)), nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret.go

    	codec = versioning.NewDefaultingCodecForScheme(
    		scheme,
    		yamlSerializer,
    		yamlSerializer,
    		v1.SchemeGroupVersion,
    		runtime.InternalGroupVersioner,
    	)
    }
    
    const (
    	remoteSecretPrefix = "istio-remote-secret-"
    	configSecretName   = "istio-kubeconfig"
    	configSecretKey    = "config"
    )
    
    func remoteSecretNameFromClusterName(clusterName string) string {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/update.go

    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/selfupdate"
    	gopsutilcpu "github.com/shirou/gopsutil/v3/cpu"
    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	envMinisignPubKey = "MINIO_UPDATE_MINISIGN_PUBKEY"
    	updateTimeout     = 10 * time.Second
    )
    
    // For windows our files have .exe additionally.
    var minioReleaseWindowsInfoURL = MinioReleaseURL + "minio.exe.sha256sum"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/AutobahnTester.kt

            ) {
              latch.countDown()
            }
          },
        )
    
        check(latch.await(10, TimeUnit.SECONDS)) { "Timed out waiting for count." }
      }
    
      companion object {
        private const val HOST = "ws://localhost:9099"
    
        @JvmStatic fun main(args: Array<String>) {
          AutobahnTester().run()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. internal/arn/arn.go

    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    	arnServiceIAM       = "iam"
    	arnResourceTypeRole = "role"
    )
    
    // ARN - representation of resources based on AWS ARNs.
    type ARN struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. misc/chrome/gophertool/manifest.json

      "background": {
        "page": "background.html"
      },
      "browser_action": {
        "default_icon": "gopher.png",
        "default_popup": "popup.html"
      },
      "omnibox": { "keyword": "golang" },
      "icons": {
        "16": "gopher.png"
      },
      "permissions": [
         "tabs"
      ]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 05 20:52:13 UTC 2012
    - 378 bytes
    - Viewed (0)
  7. cmd/bucket-versioning-handler.go

    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketVersioningConfig = "versioning.xml"
    
    	// Maximum size of bucket versioning configuration payload sent to the PutBucketVersioningHandler.
    	maxBucketVersioningConfigSize = 1 * humanize.MiByte
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. internal/logger/target/testlogger/testlogger.go

    	"fmt"
    	"os"
    	"strings"
    	"sync/atomic"
    	"testing"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/logger/target/types"
    	"github.com/minio/pkg/v3/logger/message/log"
    )
    
    const (
    	logMessage = iota
    	errorMessage
    	fatalMessage
    )
    
    // T is the test logger.
    var T = &testLogger{}
    
    func init() {
    	logger.AddSystemTarget(context.Background(), T)
    }
    
    type testLogger struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

    data class GitHubPullRequest(
        val number: Int,
        val user: GitHubUser,
        val milestone: GitHubPullRequestMilestone?,
    )
    
    
    val contributorLineRegex = "\\[(.*)]\\(https://github.com/(.*)\\)".toRegex()
    
    
    const val PAGE_SIZE = 100
    
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class AbstractCheckOrUpdateContributorsInReleaseNotes : DefaultTask() {
        @get: Internal
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. cmd/speedtest.go

    	"net/url"
    	"runtime"
    	"sort"
    	"time"
    
    	"github.com/minio/dperf/pkg/dperf"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    const speedTest = "speedtest"
    
    type speedTestOpts struct {
    	objectSize       int
    	concurrencyStart int
    	concurrency      int
    	duration         time.Duration
    	autotune         bool
    	storageClass     string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top