Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for stsr (0.23 sec)

  1. cmd/sts-handlers.go

    	return nil
    }
    
    // stsAPIHandlers implements and provides http handlers for AWS STS API.
    type stsAPIHandlers struct{}
    
    // registerSTSRouter - registers AWS STS compatible APIs.
    func registerSTSRouter(router *mux.Router) {
    	// Initialize STS.
    	sts := &stsAPIHandlers{}
    
    	// STS Router
    	stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    			AccessKey: "dillon",
    			SecretKey: "dillon-123",
    			Location:  "",
    		},
    	}
    
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	// Check that the LDAP sts cred is actually working.
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  3. src/path/filepath/match.go

    		}
    		return false, nil
    	}
    	return len(name) == 0, nil
    }
    
    // scanChunk gets the next segment of pattern, which is a non-star string
    // possibly preceded by a star.
    func scanChunk(pattern string) (star bool, chunk, rest string) {
    	for len(pattern) > 0 && pattern[0] == '*' {
    		pattern = pattern[1:]
    		star = true
    	}
    	inrange := false
    	var i int
    Scan:
    	for i = 0; i < len(pattern); i++ {
    		switch pattern[i] {
    		case '\\':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    The query parameter `q` is of type `Union[str, None]` (or `str | None` in Python 3.10), that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    !!! note
        FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. security/pkg/k8s/chiron/utils_test.go

    }
    
    // Get the server port from server.URL (e.g., https://127.0.0.1:36253)
    func getServerPort(server *httptest.Server) (int, error) {
    	strs := strings.Split(server.URL, ":")
    	if len(strs) < 2 {
    		return 0, fmt.Errorf("server.URL is invalid: %v", server.URL)
    	}
    	port, err := strconv.Atoi(strs[len(strs)-1])
    	if err != nil {
    		return 0, fmt.Errorf("error to extract port from URL: %v", server.URL)
    	}
    	return port, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        /** Implicitly imported from package. */
        PACKAGE,
    
        /** Explicitly imported by Kotlin default. For example, `kotlin.String`. */
        DEFAULT_EXPLICIT,
    
        /** Star imported (star import) by user. */
        STAR,
    
        /** Star imported (star import) by Kotlin default. */
        DEFAULT_STAR;
    
        fun hasHigherPriorityThan(that: ImportKind): Boolean = this < that
    
        companion object {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

        /**
         * Represents [KaScope] containing declarations from explicit non-star imports.
         */
        public class ExplicitSimpleImportingScope(override val indexInTower: Int) : ImportingScope()
    
        /**
         * Represents [KaScope] containing declarations from explicit star imports.
         */
        public class ExplicitStarImportingScope(override val indexInTower: Int) : ImportingScope()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. cmd/utils.go

    func lcpSuffix(strs []string) string {
    	return lcp(strs, false)
    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    		return ""
    	}
    	xfix := strs[0]
    	// short-circuit single-element list
    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. src/net/textproto/reader.go

    		if maxMemory < 0 {
    			return m, errMessageTooLarge
    		}
    		if vv == nil && len(strs) > 0 {
    			// More than likely this will be a single-element key.
    			// Most headers aren't multi-valued.
    			// Set the capacity on strs[0] to 1, so any future append
    			// won't extend the slice into the other strings.
    			vv, strs = strs[:1:1], strs[1:]
    			vv[0] = value
    			m[key] = vv
    		} else {
    			m[key] = append(vv, value)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. src/slices/sort_test.go

    	Sort(data)
    	if !IsSorted(data) {
    		t.Errorf("sorted %v", float64s)
    		t.Errorf("   got %v", data)
    	}
    }
    
    func TestSortStringSlice(t *testing.T) {
    	data := Clone(strs[:])
    	Sort(data)
    	if !IsSorted(data) {
    		t.Errorf("sorted %v", strs)
    		t.Errorf("   got %v", data)
    	}
    }
    
    func TestSortLarge_Random(t *testing.T) {
    	n := 1000000
    	if testing.Short() {
    		n /= 100
    	}
    	data := make([]int, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top