Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 642 for attr_ (0.05 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    					attrs = append(attrs, "$"+strings.TrimSpace(attr[0]), strings.TrimSpace(attr[1]))
    					r = strings.NewReplacer(attrs...)
    				}
    				// Ignore any unrecognized entries
    				continue
    			}
    			return nil, err
    		}
    		if m == nil {
    			continue
    		}
    		mapping = append(mapping, m)
    	}
    	if err := s.Err(); err != nil {
    		return nil, err
    	}
    	return mapping, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                        moduleVersionId = id
                    }
                }
                return node(type, id, moduleVersionId, attrs)
            }
    
            NodeBuilder node(String type, String id, String moduleVersion, Map attrs) {
                def node = nodes[moduleVersion]
                if (!node) {
                    node = new NodeBuilder(type, id, moduleVersion, attrs, this)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/CachingDependencyResultFactoryTest.groovy

        }
    
        def "creates and caches resolved dependencies with attributes"() {
            def fromModule = newModule('from')
            def selectedModule = newModule('selected', 'a', '1', selectedByRule(), newVariant('custom', [attr1: 'foo', attr2: 'bar']))
            def variant = newVariant("foo")
    
            when:
            def dep = factory.createResolvedDependency(selector('requested'), fromModule, selectedModule, variant, false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/log/slog/internal/benchmarks/benchmarks_test.go

    	"flag"
    	"internal/race"
    	"io"
    	"log/slog"
    	"log/slog/internal"
    	"testing"
    )
    
    func init() {
    	flag.BoolVar(&internal.IgnorePC, "nopc", false, "do not invoke runtime.Callers")
    }
    
    // We pass Attrs inline because it affects allocations: building
    // up a list outside of the benchmarked code and passing it in with "..."
    // reduces measured allocations.
    
    func BenchmarkAttrs(b *testing.B) {
    	ctx := context.Background()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/log/slog/handler.go

    	//   - If r.PC is zero, ignore it.
    	//   - Attr's values should be resolved.
    	//   - If an Attr's key and value are both the zero value, ignore the Attr.
    	//     This can be tested with attr.Equal(Attr{}).
    	//   - If a group's key is empty, inline the group's Attrs.
    	//   - If a group has no Attrs (even if it has a non-empty key),
    	//     ignore it.
    	Handle(context.Context, Record) error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                def attr1 = Attribute.of('custom', String)
                def attr2 = Attribute.of('nice', Boolean)
    
                dependencies {
                    api("org.test:bar:1.0") {
                        attributes {
                            attribute(attr1, 'hello')
                        }
                    }
    
                    api(project(':utils')) {
                        attributes {
                            attribute(attr1, 'bazinga')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  7. api/go1.21.txt

    pkg log/slog, func GroupValue(...Attr) Value #56345
    pkg log/slog, func InfoContext(context.Context, string, ...interface{}) #61200
    pkg log/slog, func Info(string, ...interface{}) #56345
    pkg log/slog, func Int64(string, int64) Attr #56345
    pkg log/slog, func Int64Value(int64) Value #56345
    pkg log/slog, func Int(string, int) Attr #56345
    pkg log/slog, func IntValue(int) Value #56345
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. samples/extauthz/cmd/extauthz/main.go

    	attrs := request.GetAttributes()
    
    	// Determine whether to allow or deny the request.
    	allow := false
    	checkHeaderValue, contains := attrs.GetRequest().GetHttp().GetHeaders()[checkHeader]
    	if contains {
    		allow = checkHeaderValue == allowedValue
    	} else {
    		allow = attrs.Source != nil && strings.HasSuffix(attrs.Source.Principal, "/sa/"+*serviceAccount)
    	}
    
    	if allow {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/html/template/escape_test.go

    			`html/template:z: "=" in unquoted attr: "onclick="`,
    		},
    		{
    			`<input type=button value= onclick=>`,
    			`html/template:z: "=" in unquoted attr: "onclick="`,
    		},
    		{
    			`<input type=button value= 1+1=2>`,
    			`html/template:z: "=" in unquoted attr: "1+1=2"`,
    		},
    		{
    			"<a class=`foo>",
    			"html/template:z: \"`\" in unquoted attr: \"`foo\"",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  10. pkg/test/fakes/gce_metadata_server/main.go

    			log.Println("forbidden: " + r.URL.Path)
    			return
    		}
    
    		next.ServeHTTP(w, r)
    	})
    }
    
    func handleAttrs(attrs map[string]string) func(w http.ResponseWriter, r *http.Request) {
    	return func(w http.ResponseWriter, r *http.Request) {
    		vars := mux.Vars(r)
    
    		if val, ok := attrs[vars[attrKey]]; ok {
    			fmt.Fprint(w, val)
    			return
    		}
    
    		http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top