Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3631 - 3640 of 3,810 for value2 (0.15 seconds)

  1. docs/ko/docs/tutorial/extra-models.md

    ### Python 3.10에서 `Union` { #union-in-python-3-10 }
    
    위의 예제에서는 `response_model` 인자 값으로 `Union[PlaneItem, CarItem]`을 전달합니다.
    
    이 경우, 이를 **타입 어노테이션(type annotation)**이 아닌 **인자 값(argument value)**으로 전달하고 있기 때문에 Python 3.10에서도 `Union`을 사용해야 합니다.
    
    만약 타입 어노테이션에 사용한다면, 다음과 같이 수직 막대(|)를 사용할 수 있습니다:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  2. cmd/perf-tests.go

    	"github.com/minio/minio-go/v7/pkg/credentials"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v3/randreader"
    )
    
    // SpeedTestResult return value of the speedtest function
    type SpeedTestResult struct {
    	Endpoint      string
    	Uploads       uint64
    	Downloads     uint64
    	UploadTimes   madmin.TimeDurations
    	DownloadTimes madmin.TimeDurations
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

            assertNotNull(response);
            // Should handle special characters gracefully
        }
    
        // ============================================================
        // Tests for setters with null values
        // ============================================================
    
        @Test
        public void test_setNullIndexName() throws Exception {
            SuggestIndexer indexer = suggester.indexer();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. cmd/xl-storage.go

    	// Dealing with error returns from close() - 'man 2 close'
    	//
    	// A careful programmer will check the return value of close(), since it is quite possible that
    	// errors on a previous write(2) operation are reported only on the final close() that releases
    	// the open file descriptor.
    	//
    	// Failing to check the return value when closing a file may lead to silent loss of data.
    	// This can especially be observed with NFS and with disk quota.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                lenient().doNothing().when(mockBuffer).enc_ndr_short(anyInt());
    
                message.encode_header(mockBuffer);
    
                // Verify that key values were written
                verify(mockBuffer).enc_ndr_small(5); // RPC version
                verify(mockBuffer, times(2)).enc_ndr_small(0); // minor version and ptype (both are 0)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableSet.java

          for (int j = Hashing.smear(hash); ; j++) {
            int index = j & mask;
            Object value = table[index];
            if (value == null) {
              // Came to an empty slot. Put the element here.
              elements[uniques++] = element;
              table[index] = element;
              hashCode += hash;
              break;
            } else if (value.equals(element)) {
              break;
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  7. src/bytes/buffer.go

    // invalid usage. opReadRuneX constants are chosen such that
    // converted to int they correspond to the rune size that was read.
    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    // names and comments, which is easier to see when being explicit.
    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // have to have duplicate @GwtIncompatible test methods just to make that assertion.
        for (AssertFailsToDecodeStrategy strategy : AssertFailsToDecodeStrategy.values()) {
          strategy.assertFailsToDecode(encoding, cannotDecode, expectedMessage);
        }
      }
    
      enum AssertFailsToDecodeStrategy {
        CAN_DECODE {
          @Override
          void assertFailsToDecode(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void checkSameResult(HashCode hashCode, long equivLong) {
        assertEquals(Hashing.consistentHash(equivLong, 5555), Hashing.consistentHash(hashCode, 5555));
      }
    
      /**
       * Check a few "golden" values to see that implementations across languages are equivalent.
       *
       */
      public void testConsistentHash_linearCongruentialGeneratorCompatibility() {
        int[] golden100 = {
          0, 55, 62, 8, 45, 59, 86, 97, 82, 59,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    if (!repos.containsKey(repo.getId())) {
                        repos.put(repo.getId(), repo);
                    }
                }
    
                repositories = new ArrayList<>(repos.values());
            }
    
            return repositories;
        }
    
        private Artifact createDependencyArtifact(Dependency dependency, Artifact owner, Artifact pom)
                throws ArtifactMetadataRetrievalException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
Back to Top