Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 94 for isMust (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/types_test.go

    limitations under the License.
    */
    
    package cel
    
    import (
    	"testing"
    )
    
    func TestTypes_ListType(t *testing.T) {
    	list := NewListType(StringType, -1)
    	if !list.IsList() {
    		t.Error("list type not identifiable as list")
    	}
    	if list.TypeName() != "list" {
    		t.Errorf("got %s, wanted list", list.TypeName())
    	}
    	if list.DefaultValue() == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	if isDecl {
    		return false
    	}
    	return t.defaultValue.Type().HasTrait(trait)
    }
    
    // IsList returns whether the declaration is a `list` type which defines a parameterized element
    // type, but not a parameterized key type or fields.
    func (t *DeclType) IsList() bool {
    	return t.KeyType == nil && t.ElemType != nil && t.Fields == nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/time.gox

     func (l <type 15>) .time.lookup (sec <type -4>) (name <type -16>, offset <type -11>, isDST <type -15>, start <type -4>, end <type -4>);
     func (l <type 15>) .time.lookupFirstZone () <type -11>;
     func (l <type 15>) .time.firstZoneUsed () <type -15>;
     func (l <type 15>) .time.lookupName (name <type -16>, unix <type -4>) (offset <type -11>, isDST <type -15>, ok <type -15>);
    >>; }>
     func (t <type 3>) String () <type -16>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

            file("buildSrc/settings.gradle.kts") << """
                buildCache {
                    local {
                        directory = "${cacheDir.absoluteFile.toURI()}"
                        isPush = true
                    }
                }
            """
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        @LeaksFileHandles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

      return str_util::Split(op_.description(), "\n");
    }
    
    string OpView::Summary() const { return op_.summary(); }
    
    // Context
    bool OpView::IsListOp() const {
      return NumOutputs() == 1 && OnlyOutput().IsList();
    }
    
    }  // namespace cpp
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/test/api_meta_help_test.go

    	"k8s.io/apimachinery/pkg/runtime/serializer"
    )
    
    func TestIsList(t *testing.T) {
    	tests := []struct {
    		obj    runtime.Object
    		isList bool
    	}{
    		{&testapigroup.CarpList{}, true},
    		{&testapigroup.Carp{}, false},
    	}
    	for _, item := range tests {
    		if e, a := item.isList, meta.IsListType(item.obj); e != a {
    			t.Errorf("%v: Expected %v, got %v", reflect.TypeOf(item.obj), e, a)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. src/go/internal/gccgoimporter/testdata/issue29198.gox

    { .time.wall <type -8>; .time.ext <type -4>; .time.loc <type 14 *<type 15 "time.Location" <type 16 struct { .time.name <type -16>; .time.zone <type 17 [] <type 18 ".time.zone" <type 19 struct { .time.name <type -16>; .time.offset <type -11>; .time.isDST <type -15>; }>>>; .time.tx <type 20 [] <type 21 ".time.zoneTrans" <type 22 struct { .time.when <type -4>; .time.index <type -5>; .time.isstd <type -15>; .time.isutc <type -15>; }>>>; .time.cacheStart <type -4>; .time.cacheEnd <type -4>; .time.cacheZone...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  8. internal/store/store.go

    	Del(key string) error
    	DelList(key []string) error
    	Open() error
    	Delete() error
    	Extension() string
    }
    
    // Key denotes the key present in the store.
    type Key struct {
    	Name   string
    	IsLast bool
    }
    
    // replayItems - Reads the items from the store and replays.
    func replayItems[I any](store Store[I], doneCh <-chan struct{}, log logger, id string) <-chan Key {
    	keyCh := make(chan Key)
    
    	go func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 25 16:44:20 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/load/test.go

    		return true
    	}
    	return false
    }
    
    // isTest tells whether name looks like a test (or benchmark, according to prefix).
    // It is a Test (say) if there is a character after Test that is not a lower-case letter.
    // We don't want TesticularCancer.
    func isTest(name, prefix string) bool {
    	if !strings.HasPrefix(name, prefix) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. pkg/proto/merge/merge.go

    	if !dst.IsValid() {
    		panic(fmt.Sprintf("cannot merge into invalid %v message", dst.Descriptor().FullName()))
    	}
    
    	src.Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool {
    		switch {
    		case fd.IsList():
    			o.mergeList(dst.Mutable(fd).List(), v.List(), fd)
    		case fd.IsMap():
    			o.mergeMap(dst.Mutable(fd).Map(), v.Map(), fd.MapValue())
    		case fd.Message() != nil:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 17:31:22 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top