Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 196 for name12 (0.14 sec)

  1. tensorflow/cc/framework/scope_test.cc

      EXPECT_EQ(names2[2], "linear_2/c1");
      EXPECT_EQ(names2[3], "linear_2/mul_1");
      EXPECT_EQ(names2[4], "linear_2");
    
      const auto names3 = LinearOp(root.WithOpName("c"));
    
      EXPECT_EQ(names3[0], "c/mul");
      EXPECT_EQ(names3[1], "c/bias_add");
      EXPECT_EQ(names3[2], "c/c1");
      EXPECT_EQ(names3[3], "c/mul_1");
      EXPECT_EQ(names3[4], "c");
    }
    
    TEST(ScopeTest, SingleUseScope) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 08:17:37 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  2. test/named1.go

    // errorcheck
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that basic operations on named types are valid
    // and preserve the type.
    // Does not compile.
    
    package main
    
    type Bool bool
    
    type Map map[int]int
    
    func (Map) M() {}
    
    type Slice []byte
    
    var slice Slice
    
    func asBool(Bool)     {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 984 bytes
    - Viewed (0)
  3. tests/default_value_test.go

    	} else if result.Name != "foo" || result.Name2 != "foo" || result.Name3 != "" || result.Age != 18 || !result.Enabled || result.Created.Format("20060102") != "20000102" {
    		t.Fatalf("Failed to find created data with default data, got %+v", result)
    	}
    
    	type Harumph2 struct {
    		ID      int       `gorm:"default:0"`
    		Email   string    `gorm:"not null;index:,unique"`
    		Name    string    `gorm:"notNull;default:foo"`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tests/distinct_test.go

    	}
    
    	var names []string
    	DB.Table("users").Where("name like ?", "distinct%").Order("name").Pluck("name", &names)
    	AssertEqual(t, names, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"})
    
    	var names1 []string
    	DB.Model(&User{}).Where("name like ?", "distinct%").Distinct().Order("name").Pluck("Name", &names1)
    
    	AssertEqual(t, names1, []string{"distinct", "distinct-2", "distinct-3"})
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crdclient/client_test.go

    					return fmt.Errorf("get(%v) => got %v, expected item to be deleted", name, cfg)
    				}
    				return nil
    			}, timeout)
    		})
    	}
    
    	t.Run("update status", func(t *testing.T) {
    		r := collections.WorkloadGroup
    		name := "name1"
    		namespace := "bar"
    		cfgMeta := config.Meta{
    			GroupVersionKind: r.GroupVersionKind(),
    			Name:             name,
    		}
    		if !r.IsClusterScoped() {
    			cfgMeta.Namespace = namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/scala/force/groovy/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 156 bytes
    - Viewed (0)
  7. pkg/config/host/names.go

    //	Names(["foo.com","*.net"]).Intersection(Names(["*.com","bar.net"])) = Names(["foo.com","bar.net"])
    //	Names(["foo.com","*.net"]).Intersection(Names(["*.bar.net"]))       = Names(["*.bar.net"])
    //	Names(["foo.com"]).Intersection(Names(["bar.com"]))                 = Names([])
    //	Names([]).Intersection(Names(["bar.com"])                           = Names([])
    func (h Names) Intersection(other Names) Names {
    	result := make(Names, 0, len(h))
    	for _, hHost := range h {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 01 19:19:22 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/api/Namer.java

        /**
         * A comparator implementation based on the names returned by the given namer.
         *
         * @param <T> The type of object that the namer can name
         */
        class Comparator<T> implements java.util.Comparator<T> {
    
            private final Namer<? super T> namer;
    
            public Comparator(Namer<? super T> namer) {
                this.namer = namer;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/scala/customizedLayout/kotlin/src/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    trait Named {
      def names: List[String]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 69 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/scala/quickstart/groovy/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    /**
     * Defines the traits of one who is named.
     */
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 207 bytes
    - Viewed (0)
Back to top