Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 2,365 for set2 (0.01 sec)

  1. docs/ja/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial002.py hl[14] *}
    
    ## セット型
    
    しかし、よく考えてみると、タグは繰り返すべきではなく、おそらくユニークな文字列になるのではないかと気付いたとします。
    
    そして、Pythonにはユニークな項目のセットのための特別なデータ型`set`があります。
    
    そのため、以下のように、`Set`をインポートして`str`の`set`として`tags`を宣言することができます:
    
    {* ../../docs_src/body_nested_models/tutorial003.py hl[1,14] *}
    
    これを使えば、データが重複しているリクエストを受けた場合でも、ユニークな項目のセットに変換されます。
    
    そして、そのデータを出力すると、たとえソースに重複があったとしても、固有の項目のセットとして出力されます。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

                      protected List<String> create(String[] elements) {
                        Set<String> set = new HashSet<>();
                        ImmutableSortedMultiset.Builder<String> builder =
                            ImmutableSortedMultiset.naturalOrder();
                        for (String s : elements) {
                          checkArgument(set.add(s));
                          builder.addCopies(s, 2);
                        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSetInformationResponse.java

     * attributes and last write time.
     *
     * @author mbechler
     */
    public class SmbComSetInformationResponse extends ServerMessageBlock {
    
        /**
         * Constructs a set information response.
         *
         * @param config the configuration to use
         */
        public SmbComSetInformationResponse(final Configuration config) {
            super(config);
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

            val stories = HpackJsonUtil.readStories(interopTestName)
            result.addAll(stories)
          }
          return result
        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    import javax.net.ssl.X509TrustManager
    
    /** This extends [X509TrustManager] for Android to disable verification for a set of hosts. */
    internal class InsecureAndroidTrustManager(
      private val delegate: X509TrustManager,
      private val insecureHosts: List<String>,
    ) : X509TrustManager {
      private val checkServerTrustedMethod: Method? =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml

        <buildTestOut>${project.build.testOutputDirectory}</buildTestOut>
        <siteOut>${project.reporting.outputDirectory}</siteOut>
      </properties>
    
      <build>
        <!--
        NOTE: Deliberately set all build directories to relative paths to ensure they really need basedir alignment.
        -->
        <sourceDirectory>src/main/java</sourceDirectory>
        <testSourceDirectory>src/test/java</testSourceDirectory>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/response-cookies.md

    또한 `Response`는 헤더와 쿠키를 설정하는 데 자주 사용되므로, **FastAPI**는 이를 `fastapi.Response`로도 제공합니다.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. cmd/update-notifier.go

    	line2InColor := fmt.Sprintf(msgLine2Fmt, color.CyanBold(updateString))
    
    	// calculate the rectangular box size.
    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		},
    		// TestXLStorage case - 4.
    		// TestXLStorage case with io error count set to 1.
    		// expected not to fail.
    		{
    			srcVol:      "src-vol",
    			destVol:     "dest-vol",
    			srcPath:     "file3",
    			destPath:    "file-two",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 5.
    		// TestXLStorage case with io error count set to maximum allowed count.
    		// expected not to fail.
    		{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
Back to top