Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for findGroup (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top