Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2181 - 2190 of 2,336 for testlog (0.05 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Suppliers;
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.ClassSanityTester;
    import com.google.common.util.concurrent.MoreExecutors.Application;
    import java.lang.Thread.State;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. cmd/utils.go

    	}
    	tlsConfig.CurvePreferences = crypto.TLSCurveIDs()
    	return tlsConfig
    }
    
    /////////// Types and functions for OpenID IAM testing
    
    // OpenIDClientAppParams - contains openID client application params, used in
    // testing.
    type OpenIDClientAppParams struct {
    	ClientID, ClientSecret, ProviderURL, RedirectURL string
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/LongMath.java

            /*
             * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x
             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned long, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  4. tensorflow/c/eager/gradients.cc

      return absl::OkStatus();
    }
    
    // Helper functions which delegate to `AbstractOperation`, update
    // the state of the ForwardOperation and call the tape as appropriate.
    // These APIs are mainly to facilitate testing and are subject to change.
    namespace internal {
    absl::Status Reset(AbstractOperation* op_, const char* op,
                       const char* raw_device_name, ForwardOperation* forward_op_) {
      forward_op_->op_name = op;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/settings.md

    지금은 `get_settings()`가 일반 함수라고 가정해도 됩니다.
    
    ///
    
    그 다음 *경로 처리 함수*에서 이를 의존성으로 요구하고, 필요한 어디서든 사용할 수 있습니다.
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    ### 설정과 테스트 { #settings-and-testing }
    
    그 다음, `get_settings`에 대한 의존성 override를 만들어 테스트 중에 다른 설정 객체를 제공하기가 매우 쉬워집니다:
    
    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/settings.md

    現在你可以先把 `get_settings()` 視為一般函式。
    
    ///
    
    接著我們可以在*路徑操作函式 (path operation function)* 中將它宣告為相依,並在需要的地方使用它。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    ### 設定與測試 { #settings-and-testing }
    
    接著,在測試時要提供不同的設定物件會非常容易,只要為 `get_settings` 建立相依覆寫(dependency override)即可:
    
    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    
    在相依覆寫中,我們在建立新的 `Settings` 物件時設定 `admin_email` 的新值,然後回傳該新物件。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. internal/rest/client.go

    				r := snapshot
    				return io.NopCloser(&r), nil
    			}
    		default:
    			// This is where we'd set it to -1 (at least
    			// if body != NoBody) to mean unknown, but
    			// that broke people during the Go 1.8 testing
    			// period. People depend on it being 0 I
    			// guess. Maybe retry later. See Issue 18117.
    		}
    		// For client requests, Request.ContentLength of 0
    		// means either actually 0, or unknown. The only way
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/MapMakerInternalMap.java

        h ^= h >>> 10;
        h += h << 3;
        h ^= h >>> 6;
        h += (h << 2) + (h << 14);
        return h ^ (h >>> 16);
      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#copyEntry} directly.
       */
      // Guarded By Segment.this
      @VisibleForTesting
      E copyEntry(E original, E newNext) {
        int hash = original.getHash();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  9. impl/maven-core/pom.xml

          <groupId>org.xmlunit</groupId>
          <artifactId>xmlunit-core</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-testing</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-junit-jupiter</artifactId>
          <version>${mockitoVersion}</version>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 26 10:37:56 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/settings.md

    E então podemos exigi-la na *função de operação de rota* como dependência e usá-la onde for necessário.
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    ### Configurações e testes { #settings-and-testing }
    
    Então seria muito fácil fornecer um objeto de configurações diferente durante os testes criando uma sobrescrita de dependência para `get_settings`:
    
    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top