Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for test_value (0.18 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testValues() {
        List<V> expected = Lists.newArrayList();
        for (Entry<K, V> entry : getSampleElements()) {
          expected.add(entry.getValue());
        }
        assertEqualIgnoringOrder(expected, multimap().values());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

            assert '1.1' != it.targetCompatibility.toString()
            it.targetCompatibility = JavaVersion.toVersion('1.1')
          }
          withProperties {
            hooks << 'withProperties'
            it.dummy = 'testValue'
          }
        }
      }
    }
    
    eclipseJdt.doLast() {
      assert hooks == ['beforeMerged', 'whenMerged', 'withProperties']
    }
            """
            when:
            run "eclipse"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. test/typeparam/maps.go

    	}
    
    	got2 := _Keys(m2)
    	sort.Ints(got2)
    	if !_SliceEqual(got2, want) {
    		panic(fmt.Sprintf("_Keys(%v) = %v, want %v", m2, got2, want))
    	}
    }
    
    func TestValues() {
    	got1 := _Values(m1)
    	want1 := []int{2, 4, 8, 16}
    	sort.Ints(got1)
    	if !_SliceEqual(got1, want1) {
    		panic(fmt.Sprintf("_Values(%v) = %v, want %v", m1, got1, want1))
    	}
    
    	got2 := _Values(m2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  4. src/runtime/vdso_elf64.go

    package runtime
    
    // ELF64 structure definitions for use by the vDSO loader
    
    type elfSym struct {
    	st_name  uint32
    	st_info  byte
    	st_other byte
    	st_shndx uint16
    	st_value uint64
    	st_size  uint64
    }
    
    type elfVerdef struct {
    	vd_version uint16 /* Version revision */
    	vd_flags   uint16 /* Version information */
    	vd_ndx     uint16 /* Version Index */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go

    	"k8s.io/apimachinery/pkg/util/json"
    	"k8s.io/client-go/kubernetes/scheme"
    )
    
    var testData = TestStruct{
    	TypeMeta:   metav1.TypeMeta{APIVersion: "foo/bar", Kind: "TestStruct"},
    	Key:        "testValue",
    	Map:        map[string]int{"TestSubkey": 1},
    	StringList: []string{"a", "b", "c"},
    	IntList:    []int{1, 2, 3},
    }
    
    type TestStruct struct {
    	metav1.TypeMeta   `json:",inline"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. tests/test_serialize_response_dataclass.py

            Item(name="bar", date=datetime(2021, 7, 26), price=1.0),
            Item(name="baz", date=datetime(2021, 7, 26), price=2.0, owner_ids=[1, 2, 3]),
        ]
    
    
    client = TestClient(app)
    
    
    def test_valid():
        response = client.get("/items/valid")
        response.raise_for_status()
        assert response.json() == {
            "name": "valid",
            "date": datetime(2021, 7, 26).isoformat(),
            "price": 1.0,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. tests/test_serialize_response_model.py

            "k1": Item(aliased_name="foo"),
            "k2": Item(aliased_name="bar", price=1.0),
            "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]),
        }
    
    
    client = TestClient(app)
    
    
    def test_valid():
        response = client.get("/items/valid")
        response.raise_for_status()
        assert response.json() == {"aliased_name": "valid", "price": 1.0, "owner_ids": None}
    
    
    def test_coerce():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

      // fallback legalization.
      auto cast_value = [&](OpBuilder& builder, Type result_type, ValueRange inputs,
                            Location loc) -> Value {
        return builder.create<mlir::tensor::CastOp>(loc, result_type,
                                                    inputs.front());
      };
      addSourceMaterialization(cast_value);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      auto& then_branch = dataset_if.getThenBranch();
      then_branch.push_back(new Block);
      builder.setInsertionPointToEnd(&then_branch.front());
      // Add iterator operational data access inside if.
      auto get_value = builder.create<TF::OptionalGetValueOp>(loc, dataset_types,
                                                              get_next.getResult());
      SmallVector<Value, 4> reduce_fn_args;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    🏧 😐 🌐❔ 👆 💭 👆 đŸ’Ē 🔗 🤙 🔠 🔁 (🎲 💗 🕰) 🎏 📨 ↩ī¸ ⚙ī¸ "💾" 💲, 👆 đŸ’Ē ⚒ đŸ”ĸ `use_cache=False` 🕐❔ ⚙ī¸ `Depends`:
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## 🌃
    
    ↖ī¸ âšĒī¸âžĄī¸ 🌐 🎀 🔤 ⚙ī¸ đŸ“Ĩ, **🔗 💉** ⚙ī¸ 🙅.
    
    đŸ”ĸ 👈 👀 🎏 *➡ 🛠ī¸ đŸ”ĸ*.
    
    ✋ī¸, âšĢī¸ đŸ“ļ 🏋ī¸, &amp; ✔ 👆 đŸ“Ŗ 🎲 🙇 đŸĻ 🔗 "📊" (🌲).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top