Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 602 for Prefix (0.06 sec)

  1. cmd/signature-v2_test.go

    		// Test case - 1.
    		// Case with empty V2AuthString.
    		{
    			authString:    "",
    			expectedError: ErrAuthHeaderEmpty,
    		},
    		// Test case - 2.
    		// Test case with `signV2Algorithm` ("AWS") not being the prefix.
    		{
    			authString:    "NoV2Prefix",
    			expectedError: ErrSignatureVersionNotSupported,
    		},
    		// Test case - 3.
    		// Test case with missing parts in the Auth string.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    				m[v] = strings.Join(value, ",")
    			} else {
    				m[supportedHeader] = strings.Join(value, ",")
    			}
    		}
    	}
    
    	for key := range v {
    		for _, prefix := range userMetadataKeyPrefixes {
    			if !stringsHasPrefixFold(key, prefix) {
    				continue
    			}
    			value, ok := nv[http.CanonicalHeaderKey(key)]
    			if ok {
    				m[key] = strings.Join(value, ",")
    				break
    			}
    		}
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    }
    
    // PrefixAccessDenied object access is denied.
    type PrefixAccessDenied GenericError
    
    func (e PrefixAccessDenied) Error() string {
    	return "Prefix access is denied: " + e.Bucket + SlashSeparator + e.Object
    }
    
    // BucketExists bucket exists.
    type BucketExists GenericError
    
    func (e BucketExists) Error() string {
    	return "Bucket exists: " + e.Bucket
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    	if sm == nil {
    		return ""
    	}
    
    	switch x := sm.MatchType.(type) {
    	case *v1alpha3.StringMatch_Exact:
    		return x.Exact
    	case *v1alpha3.StringMatch_Prefix:
    		return x.Prefix + "*"
    	}
    
    	return sm.String()
    }
    
    func renderMatches(trafficMatches []*v1alpha3.HTTPMatchRequest) string {
    	if len(trafficMatches) == 0 {
    		return "everything"
    	}
    
    	matches := []string{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  5. cmd/data-scanner_test.go

    		lifecycleConfig:           &lc,
    		versioningConfig:          &vcfg,
    	}
    	globalBucketMetadataSys.Set(bucket, meta)
    	item := scannerItem{
    		Path:       obj,
    		bucket:     bucket,
    		prefix:     "",
    		objectName: obj,
    		lifeCycle:  &lc,
    	}
    
    	modTime := time.Now()
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    		uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                        "-DvalTopDirectory=${session.topDirectory}/pom.xml",
                        "-f",
                        "${session.rootDirectory}/my-child",
                        "prefix:3.0.0:${foo}",
                        "validate"
                    },
                    null);
            request.rootDirectory = rootDirectory;
            request.topDirectory = topDirectory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

      private lateinit var server: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val logRecorder =
        HttpLoggingInterceptorTest.LogRecorder(
          prefix = Regex("""\[\d+ ms] """),
        )
      private val loggingEventListenerFactory = LoggingEventListener.Factory(logRecorder)
      private lateinit var client: OkHttpClient
      private lateinit var url: HttpUrl
    
      @BeforeEach
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    )
    
    type headerError []string
    
    func (he headerError) Error() string {
    	const prefix = "archive/tar: cannot encode header"
    	var ss []string
    	for _, s := range he {
    		if s != "" {
    			ss = append(ss, s)
    		}
    	}
    	if len(ss) == 0 {
    		return prefix
    	}
    	return fmt.Sprintf("%s: %v", prefix, strings.Join(ss, "; and "))
    }
    
    // Type flags for Header.Typeflag.
    const (
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
      fun getPrefix() = "OkHttp"
    
      open fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS")
    
      open fun platformTrustManager(): X509TrustManager {
        val factory =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. cmd/dummy-handlers.go

    	}
    
    	const loggingDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><BucketLoggingStatus xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><!--<LoggingEnabled><TargetBucket>myLogsBucket</TargetBucket><TargetPrefix>add/this/prefix/to/my/log/files/access_log-</TargetPrefix></LoggingEnabled>--></BucketLoggingStatus>`
    	writeSuccessResponseXML(w, []byte(loggingDefaultConfig))
    }
    
    // DeleteBucketWebsiteHandler - DELETE bucket website, a dummy api
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top