Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 43 for base_name (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/python-types.md

    ### 添加类型 { #add-types }
    
    我们来改前一个版本的一行代码。
    
    把函数参数从:
    
    ```Python
        first_name, last_name
    ```
    
    改成:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    就是这样。
    
    这些就是“类型提示”:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    这和声明默认值不同,比如:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    这是两码事。
    
    我们用的是冒号(`:`),不是等号(`=`)。
    
    而且添加类型提示通常不会改变代码本来的行为。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. ci/official/installer_wheel.sh

    # resolve to either
    # 1. tensorflow-a.b.c-py3-none-any.whl  or, for nightly builds,
    # 2. tf_nightly-a.b.c.devYYYYMMDD-py3-none-any.whl
    pure_python_whl=$(ls "$TFCI_OUTPUT_DIR"/*py3-none-any*)
    pure_python_whl=$(basename "${pure_python_whl}")
    
    # Extract the package name from the wheel name. That is, extract every character
    # before the pattern "-py3-" in the wheel name.
    pkg_name=$(echo "${pure_python_whl}" | awk -F'-py3-' '{print $1}')
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 04 22:39:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. docs/ko/docs/python-types.md

    이전 버전에서 한 줄만 수정해봅시다.
    
    함수의 매개변수인 정확히 이 부분을:
    
    ```Python
        first_name, last_name
    ```
    
    에서:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    로 바꾸겠습니다.
    
    이게 다입니다.
    
    이것들이 "타입 힌트"입니다:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    이것은 다음처럼 기본값을 선언하는 것과는 다릅니다:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    다른 것입니다.
    
    등호(`=`)가 아니라 콜론(`:`)을 사용합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  4. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        }
    }
    
    publishing.publications.withType<MavenPublication>().configureEach {
        if (name == "pluginMaven") {
            groupId = project.group.toString()
            artifactId = gradleModule.identity.baseName.get()
        }
        pom {
            licenses {
                license {
                    name = "The Apache License, Version 2.0"
                    url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 11:01:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  5. docs/ja/docs/python-types.md

    先ほどのコードから一行変更してみましょう。
    
    関数のパラメータである次の断片を、以下から:
    
    ```Python
        first_name, last_name
    ```
    
    以下へ変更します:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    これだけです。
    
    それが「型ヒント」です:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    これは、以下のようにデフォルト値を宣言するのと同じではありません:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    それとは別物です。
    
    イコール(`=`)ではなく、コロン(`:`)を使用します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(5000, netServerEnum2.timeout);
        }
    
        /**
         * Test the reset method.
         */
        @Test
        void testReset() {
            String lastName = "LAST_NAME";
            netServerEnum2.reset(0, lastName);
            assertEquals(lastName, netServerEnum2.lastName);
        }
    
        /**
         * Test the writeSetupWireFormat method.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. tests/transaction_test.go

    	}
    
    	tx.Rollback()
    
    	if err := DB.First(&User{}, "name = ?", "transaction").Error; err == nil {
    		t.Fatalf("Should not find record after rollback, but got %v", err)
    	}
    
    	txDB := DB.Where("fake_name = ?", "fake_name")
    	tx2 := txDB.Session(&gorm.Session{NewDB: true}).Begin()
    	user2 := *GetUser("transaction-2", Config{})
    	if err := tx2.Save(&user2).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        subprojects {
                            apply(plugin = "gradlebuild.module-identity")
                            apply(plugin = "kotlin")
                            the<GradleModuleExtension>().identity.baseName.set("api-module")
                            repositories {
                                mavenCentral()
                            }
                            dependencies {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final String baseName = StringUtils.removeEndIgnoreCase(filename, ".jar");
            final List<String> nameList = new ArrayList<>();
            final List<String> versionList = new ArrayList<>();
            boolean isName = true;
            for (final String value : baseName.split("-")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
       * similar to the {@code basename} unix command. The result does not include the '{@code .}'.
       *
       * @param file The name of the file to trim the extension from. This can be either a fully
       *     qualified file name (including a path) or just a file name.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
Back to Top