Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 772 for tlen (0.03 sec)

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

    ```Python
    UserInDB(**user_in.dict())
    ```
    
    ...because `user_in.dict()` is a `dict`, and then we make Python "unpack" it by passing it to `UserInDB` prefixed with `**`.
    
    So, we get a Pydantic model from the data in another Pydantic model.
    
    #### Unpacking a `dict` and extra keywords { #unpacking-a-dict-and-extra-keywords }
    
    And then adding the extra keyword argument `hashed_password=hashed_password`, like in:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

            byte[] emptyToken = new byte[0];
    
            // WHEN parsing the auth data
            List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys);
    
            // THEN the result should be an empty list
            assertNotNull(result, "The result should not be null.");
            assertTrue(result.isEmpty(), "The result should be empty for unknown auth types.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. ci/official/installer_wheel.sh

    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    # Update the version numbers for Nightly only
    if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
      python3 tensorflow/tools/ci_build/update_version.py --nightly
    fi
    
    # This generates a pure python wheel of the format "*-py3-none-any.whl"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Mar 04 22:39:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. ci/official/utilities/code_check_changed_files.bats

        if [[ "$(git rev-parse --abbrev-ref HEAD)" == "pull_branch" ]]; then
            # TF's CI runs 'git fetch origin "pull/PR#/merge:pull_branch"'
            # To get the as-merged branch during the CI tests
            git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files
        else
            # If the branch is not present, then diff against origin/master
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Jan 10 19:39:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

                byte[] buffer = new byte[200];
                int bufferIndex = testCase[0];
                int len = testCase[1];
    
                // Act
                int result = response.readSetupWireFormat(buffer, bufferIndex, len);
    
                // Assert
                assertEquals(0, result, "Failed for bufferIndex=" + bufferIndex + ", len=" + len);
            }
        }
    
        @Test
        @DisplayName("readParametersWireFormat should return 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. ci/official/utilities/code_check_full.bats

      if [[ -s $BATS_TEST_TMPDIR/actual_extra_licenses ]]; then
        echo "Please remove the following extra licenses from $LICENSES_TARGET:"
        cat $BATS_TEST_TMPDIR/actual_extra_licenses
      fi
    
      if [[ -s $BATS_TEST_TMPDIR/actual_missing_licenses ]]; then
        echo "Please include the missing licenses for the following packages in $LICENSES_TARGET:"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 06 20:43:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                    path = readString(buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
                    if (nodeOffset > 0) {
                        node = readString(buffer, start + nodeOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
                    }
                } else if (version == 1) {
                    node = readString(buffer, bufferIndex, len, (flags2 & FLAGS2_UNICODE) != 0);
                }
    
                return size;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * currently skipping MediumTests on Android, and we skip them by not making them present at
       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. tests/joins_table_test.go

    	if err := DB.Model(&person).Association("Addresses").Find(&addresses1); err != nil || len(addresses1) != 2 {
    		t.Fatalf("Failed to find address, got error %v, length: %v", err, len(addresses1))
    	}
    
    	if err := DB.Model(&person).Association("Addresses").Delete(&person.Addresses[0]); err != nil {
    		t.Fatalf("Failed to delete address, got error %v", err)
    	}
    
    	if len(person.Addresses) != 1 {
    		t.Fatalf("Should have one address left")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (1)
  10. src/clean.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    set -e
    
    if [ ! -f run.bash ]; then
    	echo 'clean.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    export GOROOT="$(cd .. && pwd)"
    
    gobin="${GOROOT}"/bin
    if ! "$gobin"/go help >/dev/null 2>&1; then
    	echo 'cannot find go command; nothing to clean' >&2
    	exit 1
    fi
    
    "$gobin/go" clean -i std
    "$gobin/go" tool dist clean
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Feb 26 21:54:09 UTC 2020
    - 518 bytes
    - Viewed (0)
Back to top