Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 738 for 11 (0.16 sec)

  1. fastapi/encoders.py

        results in failed round-tripping between encode and parse.
        Our Id type is a prime example of this.
    
        >>> decimal_encoder(Decimal("1.0"))
        1.0
    
        >>> decimal_encoder(Decimal("1"))
        1
    
        >>> decimal_encoder(Decimal("NaN"))
        nan
        """
        exponent = dec_value.as_tuple().exponent
        if isinstance(exponent, int) and exponent >= 0:
            return int(dec_value)
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. internal/hash/reader_test.go

    			md5hex:     "e2fc714c4727ee9395f324cd2e7f331f",
    			err:        ioutil.ErrOverread,
    		},
    		{
    			desc:       "Correct MD5, nested, truncated",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd-morestuff")), -1, "", "", -1),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "e2fc714c4727ee9395f324cd2e7f331f",
    			err:        ioutil.ErrOverread,
    		},
    	}
    	for i, testCase := range testCases {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "protocols containing h2_prior_knowledge cannot use other protocols: " +
              "[h2_prior_knowledge, http/1.1]",
          )
        }
      }
    
      @Test fun testH2PriorKnowledgeOkHttpClientConstructionDuplicates() {
        assertFailsWith<IllegalArgumentException> {
          OkHttpClient
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  4. tests/serializer_test.go

    	data := SerializerStruct{
    		Name:            []byte("ag9920"),
    		Roles:           []string{"r1", "r2"},
    		Contracts:       map[string]interface{}{"name": "jing1", "age": 11},
    		EncryptedString: EncryptedString("pass"),
    		CreatedTime:     createdAt.Unix(),
    		JobInfo: Job{
    			Title:    "programmer",
    			Number:   9920,
    			Location: "Shadyside",
    			IsIntern: false,
    		},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

    # TODO(klimek): Automate linking in all non-gcc / non-kernel include
    # directories.
    mkdir -p "/${TARGET}/usr/include/x86_64-linux-gnu"
    PYTHON_VERSIONS=("python3.9" "python3.10" "python3.11" "python3.12")
    for v in "${PYTHON_VERSIONS[@]}"; do
      ln -s "/usr/local/include/${v}" "/${TARGET}/usr/include/x86_64-linux-gnu/${v}"
    done
    
    # Patch glibc to be compatable with modern clang
    case "${VERSION}" in
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log encryption")
        void testLogEncryption() {
            logger.logEncryption(true, "AES-128-GCM", "SMB3.1.1");
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.ENCRYPTION_ENABLED), "Should have 1 encryption event");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            if (sourceHint != null) {
                buffer.append(" for ").append(sourceHint);
            }
    
            buffer.append(' ').append(message);
    
            problems.add(severity, buffer.toString(), -1, -1, null);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/additional-responses.md

    Например:
    
    {* ../../docs_src/additional_responses/tutorial004_py310.py hl[11:15,24] *}
    
    ## Дополнительная информация об ответах OpenAPI { #more-information-about-openapi-responses }
    
    Чтобы увидеть, что именно можно включать в ответы, посмотрите эти разделы спецификации OpenAPI:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            extractor.command = getCommand(scriptFile);
            final Map<String, String> params = new HashMap<String, String>();
            params.put(ExtractData.RESOURCE_NAME_KEY, "hoge/fuga ほげ ふが11.txt");
            final ExtractData text = extractor.getText(new FileInputStream(contentFile), params);
            assertEquals(content, text.getContent());
        }
    
        public void test_getText_timeout() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. ci/official/utilities/setup_macos.sh

      # `CLOUDSDK_PYTHON` to Python 3.11 which is the system Python on TFCI Mac
      # VMs.
      pyenv install -s "3.11"
      if [[ $? -eq 0 ]]; then
        pyenv local "3.11"
        export CLOUDSDK_PYTHON=$(pyenv which python3.11)
      else
        echo "Python 3.11 not found, falling back to system python"
        export CLOUDSDK_PYTHON=$(which python3)
      fi
      gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}"
    fi
    set -x
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Oct 06 22:42:26 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top