Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for duplicates (0.12 sec)

  1. docs/en/docs/tutorial/extra-data-types.md

    * `frozenset`:
        * In requests and responses, treated the same as a `set`:
            * In requests, a list will be read, eliminating duplicates and converting it to a `set`.
            * In responses, the `set` will be converted to a `list`.
            * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`).
    * `bytes`:
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Mixed Duplicates",
    			args: args{ports: []string{"1234", "2345", "1234", "2345"}},
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            try (FileReader reader = new FileReader(file)) {
                List<UpgradedProperty> upgradedProperties = new Gson().fromJson(reader, new TypeToken<List<UpgradedProperty>>() {}.getType());
                // FIXME There should be no duplicates, yet there are some
                return upgradedProperties.stream()
                    .distinct()
                    .collect(ImmutableList.toImmutableList());
            } catch (IOException e) {
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-nested-models.md

    ```Python hl_lines="1  14"
    {!> ../../docs_src/body_nested_models/tutorial003.py!}
    ```
    
    ////
    
    With this, even if you receive a request with duplicate data, it will be converted to a set of unique items.
    
    And whenever you output that data, even if the source had duplicates, it will be output as a set of unique items.
    
    And it will be annotated / documented accordingly too.
    
    ## Nested Models
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. configure.py

        # maximum performance should compile TF in their environment and can pass
        # `-march=native` there.
        # See https://github.com/tensorflow/tensorflow/issues/45744 and duplicates
        default_cc_opt_flags = '-Wno-sign-compare'
      question = ('Please specify optimization flags to use during compilation when'
                  ' bazel option "--config=opt" is specified [Default is %s]: '
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (1)
  6. cmd/xl-storage-format-v2.go

    				break
    			}
    		}
    
    		if requestedVersions > 0 && requestedVersions == nVersions {
    			merged = append(merged, versions[0]...)
    			break
    		}
    	}
    
    	// Sanity check. Enable if duplicates show up.
    	if false {
    		found := make(map[[16]byte]struct{})
    		for _, ver := range merged {
    			if _, ok := found[ver.header.VersionID]; ok {
    				panic("found dupe")
    			}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  7. src/main/webapp/js/jquery-3.7.1.min.map

    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-nested-models.md

    ```Python hl_lines="1  14"
    {!../../docs_src/body_nested_models/tutorial003.py!}
    ```
    
    Com isso, mesmo que você receba uma requisição contendo dados duplicados, ela será convertida em um conjunto de itens exclusivos.
    
    E sempre que você enviar esses dados como resposta, mesmo se a fonte tiver duplicatas, eles serão gerados como um conjunto de itens exclusivos.
    
    E também teremos anotações/documentação em conformidade.
    
    ## Modelos aninhados
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/header-params.md

    ///
    
    ## Duplicate headers
    
    It is possible to receive duplicate headers. That means, the same header with multiple values.
    
    You can define those cases using a list in the type declaration.
    
    You will receive all the values from the duplicate header as a Python `list`.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top