Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 684 for passed (0.22 sec)

  1. cmd/endpoint-ellipses_test.go

    			if err != nil && testCase.success {
    				t.Errorf("Test %d: Expected success but failed instead %s", i+1, err)
    			}
    			if err == nil && !testCase.success {
    				t.Errorf("Test %d: Expected failure but passed instead", i+1)
    			}
    		})
    	}
    }
    
    func TestGetDivisibleSize(t *testing.T) {
    	testCases := []struct {
    		totalSizes []uint64
    		result     uint64
    	}{
    		{[]uint64{24, 32, 16}, 8},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/background-tasks.md

    Inside of your *path operation function*, pass your task function to the *background tasks* object with the method `.add_task()`:
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` receives as arguments:
    
    * A task function to be run in the background (`write_notification`).
    * Any sequence of arguments that should be passed to the task function in order (`email`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/shared/validate

    # Apache Maven Startup Script
    #
    # Environment Variable Prerequisites
    #
    #   JAVA_HOME       (Optional) Points to a Java installation.
    #   MAVEN_ARGS      (Optional) Arguments passed to Maven before CLI arguments.
    #   MAVEN_OPTS      (Optional) Java runtime options used when Maven is executed.
    #   MAVEN_SKIP_RC   (Optional) Flag to disable loading of mavenrc files.
    Shell Script
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 21 09:29:19 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/route.go

    package compare
    
    import (
    	"bytes"
    	"fmt"
    	"time"
    
    	"github.com/pmezard/go-difflib/difflib"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // RouteDiff prints a diff between Istiod and Envoy routes to the passed writer
    func (c *Comparator) RouteDiff() error {
    	envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{}
    	envoyRouteDump, err := c.envoy.GetDynamicRouteDump(true)
    	if err != nil {
    		envoyBytes.WriteString(err.Error())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt

     * For data classes & enums generated members like `copy` `componentN`, `values` it will return corresponding enum/data class
     * Otherwise, behaves the same way as [findPsi] returns exact PSI declaration corresponding to passed [FirDeclaration]
     */
    fun FirDeclaration.findReferencePsi(): PsiElement? {
        return if (this is FirCallableDeclaration) {
            unwrapFakeOverridesOrDelegated().psi
        } else {
            psi
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 16:46:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. manifests/charts/ztunnel/README.md

    As an implementation detail of profiles, the default values for the chart are all nested under `defaults`.
    When configuring the chart, you should not include this.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
     * iterator should return in order.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
     * iterator should return in order.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. internal/jwt/parser_test.go

    			}
    
    			if data.valid && err != nil {
    				t.Errorf("Error while verifying token: %T:%v", err, err)
    			}
    
    			if !data.valid && err == nil {
    				t.Errorf("Invalid token passed validation")
    			}
    
    			if data.errors != 0 {
    				_, ok := err.(*jwt.ValidationError)
    				if !ok {
    					t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err)
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Striped.java

      private Striped() {}
    
      /**
       * Returns the stripe that corresponds to the passed key. It is always guaranteed that if {@code
       * key1.equals(key2)}, then {@code get(key1) == get(key2)}.
       *
       * @param key an arbitrary, non-null key
       * @return the stripe that the passed key corresponds to
       */
      public abstract L get(Object key);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
Back to top