Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 338 for toSend (0.1 sec)

  1. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/app/App.kt.template

    ${fileComment.multilineComment}${packageDecl.statement}
    import ${basePackagePrefix.raw}utilities.StringUtils
    
    import org.apache.commons.text.WordUtils
    
    fun main() {
        val tokens = StringUtils.split(MessageUtils.getMessage())
        val result = StringUtils.join(tokens)
        println(WordUtils.capitalize(result))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 313 bytes
    - Viewed (0)
  2. src/internal/coverage/slicereader/slicereader.go

    	r := Reader{
    		b:        b,
    		readonly: readonly,
    	}
    	return &r
    }
    
    func (r *Reader) Read(b []byte) (int, error) {
    	amt := len(b)
    	toread := r.b[r.off:]
    	if len(toread) < amt {
    		amt = len(toread)
    	}
    	copy(b, toread)
    	r.off += int64(amt)
    	return amt, nil
    }
    
    func (r *Reader) Seek(offset int64, whence int) (ret int64, err error) {
    	switch whence {
    	case io.SeekStart:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pkg/kubelet/images/puller.go

    	go func() {
    		if pip.tokens != nil {
    			pip.tokens <- struct{}{}
    			defer func() { <-pip.tokens }()
    		}
    		startTime := time.Now()
    		imageRef, err := pip.imageService.PullImage(ctx, spec, pullSecrets, podSandboxConfig)
    		var size uint64
    		if err == nil && imageRef != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 00:30:31 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/antlr/useAntlrPlugin/groovy/src/test/java/org/gradle/GrammarTest.java

            ANTLRStringStream in = new ANTLRStringStream("1+2");
            CalculatorLexer lexer = new CalculatorLexer(in);
            CommonTokenStream tokens = new CommonTokenStream(lexer);
            CalculatorParser parser = new CalculatorParser(tokens);
            parser.add();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 569 bytes
    - Viewed (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

                <property name="option" value="statement"/>
                <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT"/>
            </module>
            <module name="EmptyBlock">
                <property name="option" value="text"/>
                <property name="tokens" value="LITERAL_CATCH"/>
            </module>
            <module name="AvoidNestedBlocks">
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:16 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/GeneralRange.java

        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/metadata/SwiftcMetadataProvider.java

                while ((line = reader.readLine()) != null) {
                    if (line.contains("Swift version")) {
                        String[] tokens = line.split(" ");
                        // Assuming format: 'Swift version 4.0.2 (...)'
                        int i = 2;
                        if ("Apple".equals(tokens[0])) {
                            // Actual format: 'Apple Swift version 4.0.2 (...)'
                            i++;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser_test.go

    	lex, err := sqlLexer.Lex(s)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// for i, t := range tokens {
    	// 	fmt.Printf("%d: %#v\n", i, t)
    	// }
    	if len(tokens) != 7 {
    		t.Fatalf("Expected 7 got %d", len(tokens))
    	}
    }
    
    func TestSelectWhere(t *testing.T) {
    	p := participle.MustBuild(
    		&Select{},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
    	// r.RequestURI will have raw encoded URI as sent by the client.
    	tokens := strings.SplitN(r.RequestURI, "?", 2)
    	encodedResource := tokens[0]
    	encodedQuery := ""
    	if len(tokens) == 2 {
    		encodedQuery = tokens[1]
    	}
    
    	var (
    		filteredQueries []string
    		gotSignature    string
    		expires         string
    		accessKey       string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/oauth2-jwt.md

        {!> ../../../docs_src/security/tutorial004.py!}
        ```
    
    ## Update the dependencies
    
    Update `get_current_user` to receive the same token as before, but this time, using JWT tokens.
    
    Decode the received token, verify it, and return the current user.
    
    If the token is invalid, return an HTTP error right away.
    
    === "Python 3.10+"
    
        ```Python hl_lines="90-107"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top