Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Dicts (0.1 sec)

  1. test/fixedbugs/issue29013a.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type TestSuite struct {
    	Tests []int
    }
    
    var Suites = []TestSuite{
    	Dicts,
    }
    var Dicts = TestSuite{
    	Tests: []int{0},
    }
    
    func main() {
    	if &Dicts.Tests[0] != &Suites[0].Tests[0] {
    		panic("bad")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 03 16:48:21 UTC 2018
    - 381 bytes
    - Viewed (0)
  2. test/fixedbugs/issue29013b.go

    type TestSuite struct {
    	Tests []Test
    }
    type Test struct {
    	Want interface{}
    }
    type Int struct {
    	i int
    }
    
    func NewInt(v int) Int {
    	return Int{i: v}
    }
    
    var Suites = []TestSuite{
    	Dicts,
    }
    var Dicts = TestSuite{
    	Tests: []Test{
    		{
    			Want: map[Int]bool{NewInt(1): true},
    		},
    		{
    			Want: map[Int]string{
    				NewInt(3): "3",
    			},
    		},
    	},
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 03 16:48:21 UTC 2018
    - 616 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            final String response = checkMethodBase(searchBody).get("/api/admin/dict").asString();
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
    
            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
                if (getDictType().equals(item.get("type"))) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_input.py

      @tf.function(input_signature=[[
          tf.TensorSpec([], tf.float32),
          tf.TensorSpec([], tf.float32),
      ]])
      def f0001_list_2_elements(self, l):
        return
    
      # Check index paths for dicts.
      # Keys are linearized in sorted order, matching `tf.nest.flatten`.
      #
      # CHECK:      func {{@[a-zA-Z_0-9]+}}(
      # CHECK-SAME:   %arg0: tensor<1xf32> {tf._user_specified_name = "d", tf_saved_model.index_path = [0, "x"]},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

        In particular, func's in SavedModel are called with a structured value, and
        return a structured value. A structured value consists of arbitrarily nested
        dicts/lists with tensors as leaves (composite tensors here mostly behave as
        just dicts holding other tensors).
        The arity of the Python-level function is modeled as an outer list.
        Additionally, any variables or constants used by the function are implicitly
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_output.py

      @tf.function(input_signature=[])
      def f0004_list_2_elements(self):
        return [[tf.constant(1.0, shape=[1]), tf.constant(1.0, shape=[2])]]
    
      # Check index paths for dicts.
      # Keys are linearized in sorted order, matching `tf.nest.flatten`.
      # More thorough testing of this is in structured_input.py. The underlying code
      # path for linearization is shared, so no need to replicate that testing here.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/metadata.md

    Wenn Sie nun die Dokumentation ansehen, werden dort alle zusätzlichen Metadaten angezeigt:
    
    <img src="/img/tutorial/metadata/image02.png">
    
    ### Reihenfolge der Tags
    
    Die Reihenfolge der Tag-Metadaten-Dicts definiert auch die Reihenfolge, in der diese in der Benutzeroberfläche der Dokumentation angezeigt werden.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:25:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-nested-models.md

    Você não conseguiria este tipo de suporte de editor se estivesse trabalhando diretamente com `dict` em vez de modelos Pydantic.
    
    Mas você também não precisa se preocupar com eles, os dicts de entrada são convertidos automaticamente e sua saída é convertida automaticamente para JSON também.
    
    ## Corpos de `dict`s arbitrários
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    <img src="/img/tutorial/body-nested-models/image01.png">
    
    You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models.
    
    But you don't have to worry about them either, incoming dicts are converted automatically and your output is converted automatically to JSON too.
    
    ## Bodies of arbitrary `dict`s
    
    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top