Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 301 for stsr (0.03 sec)

  1. 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)
  2. tools/istio-iptables/pkg/config/types.go

    import (
    	"strings"
    )
    
    func Split(s string) []string {
    	if s == "" {
    		return nil
    	}
    	return filterEmpty(strings.Split(s, ","))
    }
    
    func filterEmpty(strs []string) []string {
    	filtered := make([]string, 0, len(strs))
    	for _, s := range strs {
    		if s == "" {
    			continue
    		}
    		filtered = append(filtered, s)
    	}
    	return filtered
    }
    
    type InterceptFilter struct {
    	Values []string
    	Except bool
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 15:43:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy_test.go

    				if verb == "*" {
    					t.Errorf("%s.Rule[%d].Verbs[%d] is star", role.Name, i, j)
    				}
    			}
    			for j, group := range rule.APIGroups {
    				if group == "*" {
    					t.Errorf("%s.Rule[%d].APIGroups[%d] is star", role.Name, i, j)
    				}
    			}
    			for j, resource := range rule.Resources {
    				if resource == "*" {
    					t.Errorf("%s.Rule[%d].Resources[%d] is star", role.Name, i, j)
    				}
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 05:24:17 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  4. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracterTest.groovy

            class TestGrammar extends Parser;
    
            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
                ;
    
            mexpr
                :   atom (STAR^ atom)*
                ;
    
            atom:   INT
                ;"""
            expect:
            "org.acme" == new MetadataExtracter().getPackageName(new StringReader(grammar))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/html/template/example_test.go

    	if err := overlayTmpl.Execute(os.Stdout, guardians); err != nil {
    		log.Fatal(err)
    	}
    	// Output:
    	// Names:
    	// - Gamora
    	// - Groot
    	// - Nebula
    	// - Rocket
    	// - Star-Lord
    	// Names: Gamora, Groot, Nebula, Rocket, Star-Lord
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  6. test/fixedbugs/issue40367.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func case1() {
    	rates := []int32{1,2,3,4,5,6}
    	var sink [6]int
    	j := len(sink)
    	for star, _ := range rates {
    		if star+1 < 1 {
    			panic("")
    		}
    		j--
    		sink[j] = j
    	}
    }
    
    func case2() {
    	i := 0
    	var sink [3]int
    	j := len(sink)
    top:
    	j--
    	sink[j] = j
    	if i < 2 {
    		i++
    		if i < 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 17:23:11 UTC 2020
    - 526 bytes
    - Viewed (0)
  7. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2PluginIntegrationTest.groovy

                options {
                    buildAST = true;
                }
    
                expr:   mexpr (PLUS^ mexpr)* SEMI!
                    ;
    
                mexpr
                    :   atom (STAR^ atom)*
                    ;
    
                atom:   INT
                    ;"""
    
            file("grammar-builder/src/main/antlr/AnotherGrammar.g") << """
                header {
                    package org.acme;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. src/regexp/syntax/compile.go

    		i.Out = f1.i
    		f.out = makePatchList(f.i<<1 | 1)
    	}
    	f.out = f.out.append(c.p, f1.out)
    	return f
    }
    
    // loop returns the fragment for the main loop of a plus or star.
    // For plus, it can be used after changing the entry to f1.i.
    // For star, it can be used directly when f1 can't match an empty string.
    // (When f1 can match an empty string, f1* must be implemented as (f1+)?
    // to get the priority match order correct.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/RegExpPatternStepTest.java

        }
    
        @Test public void testGetRegExpPattern() {
            testPatternEscape("literal", "literal");
            testPatternEscape("dotq.", "dotq?");
            testPatternEscape("star.*stuff", "star*stuff");
            testPatternEscape("\\\\\\[\\]\\^\\-\\&\\.\\{\\}\\(\\)\\$\\+\\|\\<\\=\\!", "\\[]^-&.{}()$+|<=!");
            testPatternEscape("\\$\\&time", "$&time");
        }
    
        @Test public void testEscapeSet() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. docs/site-replication/gen-oidc-sts-cred.go

    package main
    
    // This programs mocks user interaction against Dex IDP and generates STS
    // credentials. It is for MinIO testing purposes only.
    //
    // Run like:
    //
    // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top