Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for findGroup (0.51 sec)

  1. platforms/ide/ide-native/src/testFixtures/groovy/org/gradle/ide/xcode/fixtures/ProjectFile.groovy

        }
    
        PBXGroup getProducts() {
            return findGroup('Products')
        }
    
        PBXGroup getSources() {
            return findGroup('Sources')
        }
    
        PBXGroup getTests() {
            return findGroup('Tests')
        }
    
        PBXGroup getHeaders() {
            return findGroup('Headers')
        }
    
        private PBXGroup findGroup(String groupName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/log/slog/value.go

    		return v.any == w.any // may panic if non-comparable
    	case KindGroup:
    		return slices.EqualFunc(v.group(), w.group(), Attr.Equal)
    	default:
    		panic(fmt.Sprintf("bad kind: %s", k1))
    	}
    }
    
    // isEmptyGroup reports whether v is a group that has no attributes.
    func (v Value) isEmptyGroup() bool {
    	if v.Kind() != KindGroup {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/log/slog/value_test.go

    // license that can be found in the LICENSE file.
    
    package slog
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func TestKindString(t *testing.T) {
    	if got, want := KindGroup.String(), "Group"; got != want {
    		t.Errorf("got %q, want %q", got, want)
    	}
    }
    
    func TestValueEqual(t *testing.T) {
    	var x, y int
    	vals := []Value{
    		{},
    		Int64Value(1),
    		Int64Value(2),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/log/slog/handler.go

    // It reports whether something was appended.
    func (s *handleState) appendAttr(a Attr) bool {
    	a.Value = a.Value.Resolve()
    	if rep := s.h.opts.ReplaceAttr; rep != nil && a.Value.Kind() != KindGroup {
    		var gs []string
    		if s.groups != nil {
    			gs = *s.groups
    		}
    		// a.Value is resolved before calling ReplaceAttr, so the user doesn't have to.
    		a = rep(gs, a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg log/slog, const KindDuration = 2 #56345
    pkg log/slog, const KindDuration Kind #56345
    pkg log/slog, const KindFloat64 = 3 #56345
    pkg log/slog, const KindFloat64 Kind #56345
    pkg log/slog, const KindGroup = 8 #56345
    pkg log/slog, const KindGroup Kind #56345
    pkg log/slog, const KindInt64 = 4 #56345
    pkg log/slog, const KindInt64 Kind #56345
    pkg log/slog, const KindLogValuer = 9 #56345
    pkg log/slog, const KindLogValuer Kind #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)
  6. src/log/slog/handler_test.go

    			wantText: "g.x=0 g.n=4 g.h.b=2",
    			wantJSON: `{"g":{"x":0,"n":4,"h":{"b":2}}}`,
    		},
    		{
    			name: "replace resolved group",
    			replace: func(groups []string, a Attr) Attr {
    				if a.Value.Kind() == KindGroup {
    					return Attr{"bad", IntValue(1)}
    				}
    				return removeKeys(TimeKey, LevelKey, MessageKey)(groups, a)
    			},
    			attrs:    []Attr{Any("name", logValueName{"Perry", "Platypus"})},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    t)if(r.type==="div"&&r.value===",")return r;return{type:"div",value:",",after:" "}}cleanOtherPrefixes(e,t){return e.filter(r=>{let n=Vm.prefix(this.findProp(r));return n===""||n===t})}cleanFromUnprefixed(e,t){let r=e.map(a=>this.findProp(a)).filter(a=>a.slice(0,t.length)===t).map(a=>this.prefixes.unprefixed(a)),n=[];for(let a of e){let s=this.findProp(a),o=Vm.prefix(s);!r.includes(s)&&(o===t||o==="")&&n.push(a)}return n}disabled(e,t){let r=["order","justify-content","align-self","align-content"];...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"IntValue", Func, 21},
    		{"JSONHandler", Type, 21},
    		{"Kind", Type, 21},
    		{"KindAny", Const, 21},
    		{"KindBool", Const, 21},
    		{"KindDuration", Const, 21},
    		{"KindFloat64", Const, 21},
    		{"KindGroup", Const, 21},
    		{"KindInt64", Const, 21},
    		{"KindLogValuer", Const, 21},
    		{"KindString", Const, 21},
    		{"KindTime", Const, 21},
    		{"KindUint64", Const, 21},
    		{"Level", Type, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top