Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 548 for _const0 (0.05 seconds)

  1. internal/disk/directio_unix.go

    package disk
    
    import (
    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  2. cmd/rebalstatus_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    
    const _rebalStatus_name = "NoneStartedCompletedStoppedFailed"
    
    var _rebalStatus_index = [...]uint8{0, 4, 11, 20, 27, 33}
    
    func (i rebalStatus) String() string {
    	if i >= rebalStatus(len(_rebalStatus_index)-1) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 795 bytes
    - Click Count (0)
  3. internal/config/lambda/config.go

    // Config - lambda target configuration structure, holds
    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  4. internal/config/help.go

    func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) {
    	for _, hkv := range hkvs {
    		if hkv.Key == key {
    			return hkv, true
    		}
    	}
    	return HelpKV{}, false
    }
    
    // DefaultComment used across all sub-systems.
    const DefaultComment = "optionally add a comment to this setting"
    
    // Region help is documented in default config
    var (
    	SiteHelp = HelpKVS{
    		HelpKV{
    			Key:         NameKey,
    			Type:        "string",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        private const val UNICODE_2 = 0x1a5
    
        /** Arbitrary code point that's 3 bytes in UTF-8 and valid in IdnaMappingTable.txt. */
        private const val UNICODE_3 = 0x2202
    
        /** Arbitrary code point that's 4 bytes in UTF-8 and valid in IdnaMappingTable.txt. */
        private const val UNICODE_4 = 0x1d11e
    
        /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            def result = parser.parse(propertyMetaData, listener)
    
            then:
            _ * propertyMetaData.rawCommentText >> '{@value org.gradle.SomeClass#CONST}'
            _ * propertyMetaData.ownerClass >> classMetaData
            _ * linkConverter.resolveValue('org.gradle.SomeClass#CONST', classMetaData, listener) >> document.importNode(parse('<literal>some-value</literal>'), true)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Click Count (0)
  7. internal/config/policy/opa/legacy.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package opa
    
    import (
    	"github.com/minio/minio/internal/config"
    )
    
    // Legacy OPA envs
    const (
    	EnvIamOpaURL       = "MINIO_IAM_OPA_URL"
    	EnvIamOpaAuthToken = "MINIO_IAM_OPA_AUTHTOKEN"
    )
    
    // SetPolicyOPAConfig - One time migration code needed, for migrating from older config to new for PolicyOPAConfig.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        okHttpClient.connectionPool.evictAll() // Close any persistent connections.
        okHttpClient.dispatcher.executorService.shutdownNow()
      }
    
      companion object {
        internal const val NAME = "okcurl"
        internal const val DEFAULT_TIMEOUT = -1
    
        private fun versionString(): String? {
          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

    import jetbrains.buildServer.configs.kotlin.buildFeatures.pullRequests
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    
    const val GRADLE_RUNNER_STEP_NAME = "GRADLE_RUNNER"
    const val GRADLE_RETRY_RUNNER_STEP_NAME = "GRADLE_RETRY_RUNNER"
    
    fun checkCleanDirUnixLike(
        dir: String,
        exitOnFailure: Boolean = true,
    ) = """
        REPO=$dir
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 07:29:52 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. cmd/authtype_string.go

    	_ = x[authTypeSigned-6]
    	_ = x[authTypeSignedV2-7]
    	_ = x[authTypeJWT-8]
    	_ = x[authTypeSTS-9]
    	_ = x[authTypeStreamingSignedTrailer-10]
    	_ = x[authTypeStreamingUnsignedTrailer-11]
    }
    
    const _authType_name = "UnknownAnonymousPresignedPresignedV2PostPolicyStreamingSignedSignedSignedV2JWTSTSStreamingSignedTrailerStreamingUnsignedTrailer"
    
    var _authType_index = [...]uint8{0, 7, 16, 25, 36, 46, 61, 67, 75, 78, 81, 103, 127}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 1.1K bytes
    - Click Count (0)
Back to Top