Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,234 for findBy (0.14 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    		}
    
    		resp := rootIdent(asg.Lhs[0])
    		if resp == nil {
    			return true // could not find the http.Response in the assignment.
    		}
    
    		def, ok := stmts[1].(*ast.DeferStmt)
    		if !ok {
    			return true // the following statement is not a defer.
    		}
    		root := rootIdent(def.Call.Fun)
    		if root == nil {
    			return true // could not find the receiver of the defer call.
    		}
    
    		if resp.Obj == root.Obj {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/gomod.go

    import (
    	"bytes"
    	"strings"
    )
    
    var nl = []byte("\n")
    
    // GoModLookup takes go.mod or go.work content,
    // finds the first line in the file starting with the given key,
    // and returns the value associated with that key.
    //
    // Lookup should only be used with non-factored verbs
    // such as "go" and "toolchain", usually to find versions
    // or version-like strings.
    func GoModLookup(gomod []byte, key string) string {
    	for len(gomod) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:31:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/dataclasses.md

    Weitere Einzelheiten finden Sie in den Bemerkungen im Quellcode oben.
    
    ## Mehr erfahren
    
    Sie können `dataclasses` auch mit anderen Pydantic-Modellen kombinieren, von ihnen erben, sie in Ihre eigenen Modelle einbinden, usw.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/mod/rsc.io_sampler_v1.2.0.txt

    		}
    		tag := language.Make(f[1])
    		tags = append(tags, tag)
    		t.byTag[tag.String()] = f[2]
    	}
    	t.matcher = language.NewMatcher(tags)
    	return t
    }
    
    // find finds the text to use for the given language tag preferences.
    func (t *text) find(prefs []language.Tag) string {
    	tag, _, _ := t.matcher.Match(prefs...)
    	s := t.byTag[tag.String()]
    	if strings.HasPrefix(s, "RTL ") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/mod/rsc.io_sampler_v1.2.1.txt

    		}
    		tag := language.Make(f[1])
    		tags = append(tags, tag)
    		t.byTag[tag.String()] = f[2]
    	}
    	t.matcher = language.NewMatcher(tags)
    	return t
    }
    
    // find finds the text to use for the given language tag preferences.
    func (t *text) find(prefs []language.Tag) string {
    	tag, _, _ := t.matcher.Match(prefs...)
    	s := t.byTag[tag.String()]
    	if strings.HasPrefix(s, "RTL ") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 17:49:01 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            noIncludes()
            noImports()
        }
    
        def "finds quoted include"() {
            when:
            sourceFile << """
        #include "test.h"
    """
    
            then:
            includes == [new IncludeWithSimpleExpression('test.h', false, IncludeType.QUOTED)]
    
            and:
            noImports()
        }
    
        def "finds quoted include on first line of file"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseSensitiveVfsRelativePathTest.groovy

    import static org.gradle.internal.snapshot.PathUtil.getPathComparator
    
    class CaseSensitiveVfsRelativePathTest extends AbstractCaseVfsRelativePathTest {
    
        def "finds right entry in sorted list with only case differences"() {
            def children = ["bAd", "BaD", "Bad"]
            children.sort(getPathComparator(CASE_SENSITIVE))
            expect:
            for (int i = 0; i < children.size(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. internal/s3select/simdj/record.go

    )
    
    // Record - is JSON record.
    type Record struct {
    	// object
    	object simdjson.Object
    }
    
    // Get - gets the value for a column name.
    func (r *Record) Get(name string) (*sql.Value, error) {
    	elem := r.object.FindKey(name, nil)
    	if elem == nil {
    		return nil, nil
    	}
    	return iterToValue(elem.Iter)
    }
    
    func iterToValue(iter simdjson.Iter) (*sql.Value, error) {
    	switch iter.Type() {
    	case simdjson.TypeString:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  9. src/cmd/fix/cftype.go

    	changed := false
    
    	// step 1: Find all the nils with the offending types.
    	// Compute their replacement.
    	badNils := map[any]ast.Expr{}
    	walk(f, func(n any) {
    		if i, ok := n.(*ast.Ident); ok && i.Name == "nil" && badType(typeof[n]) {
    			badNils[n] = &ast.BasicLit{ValuePos: i.NamePos, Kind: token.INT, Value: "0"}
    		}
    	})
    
    	// step 2: find all uses of the bad nils, replace them with 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:25:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/rsc.io_sampler_v1.99.99.txt

    		}
    		tag := language.Make(f[1])
    		tags = append(tags, tag)
    		t.byTag[tag.String()] = f[2]
    	}
    	t.matcher = language.NewMatcher(tags)
    	return t
    }
    
    // find finds the text to use for the given language tag preferences.
    func (t *text) find(prefs []language.Tag) string {
    	tag, _, _ := t.matcher.Match(prefs...)
    	s := t.byTag[tag.String()]
    	if strings.HasPrefix(s, "RTL ") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 3.2K bytes
    - Viewed (0)
Back to top