Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for nBracket (0.25 sec)

  1. tools/bug-report/pkg/util/path/path.go

    		if str != "" {
    			str = strings.ReplaceAll(str, escapedPathSeparator, pathSeparator)
    			// Is str of the form node[expr], convert to "node", "[expr]"?
    			nBracket := strings.IndexRune(str, '[')
    			if nBracket > 0 {
    				r = append(r, str[:nBracket], str[nBracket:])
    			} else {
    				// str is "[expr]" or "node"
    				r = append(r, str)
    			}
    		}
    	}
    	return r
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 01 20:55:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. operator/pkg/util/path.go

    		if str != "" {
    			str = strings.ReplaceAll(str, EscapedPathSeparator, PathSeparator)
    			// Is str of the form node[expr], convert to "node", "[expr]"?
    			nBracket := strings.IndexRune(str, '[')
    			if nBracket > 0 {
    				r = append(r, str[:nBracket], str[nBracket:])
    			} else {
    				// str is "[expr]" or "node"
    				r = append(r, str)
    			}
    		}
    	}
    	return r
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/bidi/bracket.go

    // resolvePairedBrackets runs the paired bracket part of the UBA algorithm.
    //
    // For each rune, it takes the indexes into the original string, the class the
    // bracket type (in pairTypes) and the bracket identifier (pairValues). It also
    // takes the direction type for the start-of-sentence and the embedding level.
    //
    // The identifiers for bracket types are the rune of the canonicalized opening
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 11.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammar.kt

    import org.jetbrains.kotlin.lexer.KtTokens.LBRACKET
    import org.jetbrains.kotlin.lexer.KtTokens.LT
    import org.jetbrains.kotlin.lexer.KtTokens.LTEQ
    import org.jetbrains.kotlin.lexer.KtTokens.MUL
    import org.jetbrains.kotlin.lexer.KtTokens.NULL_KEYWORD
    import org.jetbrains.kotlin.lexer.KtTokens.OROR
    import org.jetbrains.kotlin.lexer.KtTokens.QUEST
    import org.jetbrains.kotlin.lexer.KtTokens.RBRACKET
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt

        internal
        inline fun <T> paren(crossinline parser: Parser<T>): Parser<T> =
            token(LPAR) * parser * token(RPAR)
    
    
        internal
        inline fun <T> bracket(crossinline parser: Parser<T>): Parser<T> =
            token(LBRACKET) * parser * token(RBRACKET)
    
    
        internal
        inline fun <T> brace(crossinline parser: Parser<T>): Parser<T> =
            token(LBRACE) * parser * token(RBRACE)
    
    
        internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/bidi/trieval.go

    	RLI // RightToLeftIsolate
    	FSI // FirstStrongIsolate
    	PDI // PopDirectionalIsolate
    
    	unknownClass = ^Class(0)
    )
    
    // A trie entry has the following bits:
    // 7..5  XOR mask for brackets
    // 4     1: Bracket open, 0: Bracket close
    // 3..0  Class type
    
    const (
    	openMask     = 0x10
    	xorMaskShift = 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. .idea/dictionaries/valentin.xml

          <w>initializers</w>
          <w>inserter</w>
          <w>negatable</w>
          <w>pparent</w>
          <w>precheck</w>
          <w>prioritizer</w>
          <w>processings</w>
          <w>rbrace</w>
          <w>rbracket</w>
          <w>renderers</w>
          <w>rparenth</w>
          <w>selectioner</w>
          <w>smartcast</w>
          <w>summand</w>
          <w>unpluralize</w>
          <w>weighers</w>
        </words>
      </dictionary>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Sep 13 14:46:16 UTC 2016
    - 605 bytes
    - Viewed (0)
  8. operator/pkg/util/path_test.go

    	}{
    		{
    			desc:       "has-brackets",
    			in:         "[yo]",
    			expect:     "yo",
    			expectStat: true,
    		},
    		{
    			desc:       "one-bracket",
    			in:         "[yo",
    			expect:     "",
    			expectStat: false,
    		},
    		{
    			desc:       "other-bracket",
    			in:         "yo]",
    			expect:     "",
    			expectStat: false,
    		},
    		{
    			desc:       "no-brackets",
    			in:         "yo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Aug 29 00:15:38 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/errorcalls_test.go

    			stack = append(stack, byte(ch))
    			continue
    		case ')':
    			open = '('
    		case ']':
    			open = '['
    		case '}':
    			open = '{'
    		default:
    			continue
    		}
    		// closing parenthesis/bracket must have matching opening
    		top := len(stack) - 1
    		if top < 0 || stack[top] != open {
    			return false
    		}
    		stack = stack[:top]
    	}
    	return len(stack) == 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/encoding/json/example_test.go

    		{"Name": "Ed", "Text": "Go fmt yourself!"}
    	]
    `
    	type Message struct {
    		Name, Text string
    	}
    	dec := json.NewDecoder(strings.NewReader(jsonStream))
    
    	// read open bracket
    	t, err := dec.Token()
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Printf("%T: %v\n", t, t)
    
    	// while the array contains values
    	for dec.More() {
    		var m Message
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 6.1K bytes
    - Viewed (0)
Back to top