Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 109 for getOne (1.45 sec)

  1. docs/vi/docs/environment-variables.md

    Ví dụ, bạn có một file `main.py` với:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Tham số thứ hai cho <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> là giá trị mặc định để trả về.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 07 22:17:13 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. maven-tests/mvnw

    	public class Downloader extends java.net.Authenticator
    	{
    	  protected java.net.PasswordAuthentication getPasswordAuthentication()
    	  {
    	    return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
    	  }
    	  public static void main( String[] args ) throws Exception
    	  {
    	    setDefault( new Downloader() );
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. docs/ko/docs/environment-variables.md

    예를 들어 다음과 같은 `main.py` 파일이 있다고 합시다:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | 팁
    
    <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> 의 두 번째 인자는 반환할 기본값입니다.
    
    여기서는 `"World"`를 넣었기에 기본값으로써 사용됩니다. 넣지 않으면 `None` 이 기본값으로 사용됩니다.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 931 bytes
    - Viewed (0)
  5. tests/connpool_test.go

    	c.got = append(c.got, query)
    	return c.db.QueryRowContext(ctx, query, args...)
    }
    
    func TestConnPoolWrapper(t *testing.T) {
    	dialect := os.Getenv("GORM_DIALECT")
    	if dialect != "mysql" {
    		t.SkipNow()
    	}
    
    	dbDSN := os.Getenv("GORM_DSN")
    	if dbDSN == "" {
    		dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	}
    	nativeDB, err := sql.Open("mysql", dbDSN)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. docs/ru/docs/environment-variables.md

    Например, у вас есть файл `main.py`:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Второй аргумент <a href=«https://docs.python.org/3.8/library/os.html#os.getenv» class=«external-link» target=«_blank»>`os.getenv()`</a> - это возвращаемое по умолчанию значение.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Oct 15 11:38:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

            Set<Integer> values = new HashSet<>();
    
            for (Field field : fields) {
                if (field.getType() == int.class) {
                    int value = field.getInt(null);
                    assertTrue(values.add(value), "Duplicate value found for field: " + field.getName());
                }
            }
        }
    
        @Test
        @DisplayName("Test constant values follow bit flag pattern")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *         .call(
       *             () ->
       *                 new UsageHistory(
       *                     username,
       *                     Futures.getDone(loginDateFuture),
       *                     Futures.getDone(recentCommandsFuture)),
       *             executor);
       * }
       *
       * @since 20.0
       */
      @GwtCompatible
      public static final class FutureCombiner<V extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        assertThat(peeker.getDone(input1)).isSameInstanceAs("value1");
                        try {
                          peeker.getDone(input2Failed);
                          fail("Peeker.getDone() should fail for failed inputs");
                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  10. src/packaging/common/scripts/postrm

        fi
    fi
    
    if [ "$REMOVE_USER_AND_GROUP" = "true" ]; then
        if id "$FESS_USER" > /dev/null 2>&1 ; then
            userdel "$FESS_USER"
        fi
    
        if getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
            groupdel "$FESS_GROUP"
        fi
    fi
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
Back to top