Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 384 for inexact (0.15 sec)

  1. src/crypto/internal/alias/alias_test.go

    	any := AnyOverlap(x, y)
    	if any != anyOverlap {
    		t.Errorf("%d: wrong AnyOverlap result, expected %v, got %v", i, anyOverlap, any)
    	}
    	inexact := InexactOverlap(x, y)
    	if inexact != inexactOverlap {
    		t.Errorf("%d: wrong InexactOverlap result, expected %v, got %v", i, inexactOverlap, any)
    	}
    }
    
    func TestAliasing(t *testing.T) {
    	for i, tt := range aliasingTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 18:46:05 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/google.go

    package kubeinject
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    
    	"golang.org/x/oauth2"
    	"golang.org/x/oauth2/google"
    )
    
    func isMCPAddr(addr string) bool {
    	// A bit inexact but should be good enough.
    	return strings.Contains(addr, ".googleapis.com/") || strings.Contains(addr, ".googleapis.com:443/")
    }
    
    func mcpTransport(ctx context.Context, tr http.RoundTripper) (http.RoundTripper, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/crypto/internal/alias/alias.go

    }
    
    // InexactOverlap reports whether x and y share memory at any non-corresponding
    // index. The memory beyond the slice length is ignored. Note that x and y can
    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/internal/alias/alias.go

    }
    
    // InexactOverlap reports whether x and y share memory at any non-corresponding
    // index. The memory beyond the slice length is ignored. Note that x and y can
    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_err_deadlock.txt

    [short] skip
    [!fuzz-instrumented] skip
    
    env GOCACHE=$WORK/cache
    ! go test -fuzz=FuzzDead -v
    # This is a somewhat inexact check, but since we don't prefix the error with anything
    # and as the error suffix is platform dependent, this is the best we can do. In the
    # deadlock failure case, the test will just deadlock and timeout anyway, so it should
    # be clear that that failure mode is different.
    stdout 'open'
    
    -- go.mod --
    module test
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 19:51:23 UTC 2023
    - 999 bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/internal/alias/alias_purego.go

    }
    
    // InexactOverlap reports whether x and y share memory at any non-corresponding
    // index. The memory beyond the slice length is ignored. Note that x and y can
    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/math/expm1.go

    //           to Qi*2**i, and replace z by (x**2)/2.
    //      (B). To achieve maximum accuracy, we compute expm1(x) by
    //        (i)   if x < -56*ln2, return -1.0, (raise inexact if x!=inf)
    //        (ii)  if k=0, return r-E
    //        (iii) if k=-1, return 0.5*(r-E)-0.5
    //        (iv)  if k=1 if r < -0.25, return 2*((r+0.5)- E)
    //                     else          return  1.0+2.0*(r-E);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/separate-openapi-schemas.md

        ```
    
    ...then because `description` has a default value, if you **don't return anything** for that field, it will still have that **default value**.
    
    ### Model for Output Response Data
    
    If you interact with the docs and check the response, even though the code didn't add anything in one of the `description` fields, the JSON response contains the default value (`null`):
    
    <div class="screenshot">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/ExactVersionSelector.java

            return true;
        }
    
        @Override
        public boolean accept(String candidate) {
            return version.isEmpty() || version.equals(candidate);
        }
    
        public static boolean isExact(String selector) {
            return selector != null && !VersionRangeSelector.ALL_RANGE.matcher(selector).matches() && !selector.endsWith("+") && !selector.startsWith("latest.");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecsTest.groovy

                [':a', ':b', ':d', ':f', ':e', ':c'],
                []
            ]
        }
    
        def "can specify a task more than once in a complex rule"() {
            def spec = any(exact(':a', ':c'), exact(':b', ':d'), exact(':a', ':d'))
    
            given:
            assert spec.getTasks() == [':a', ':b', ':c', ':d'] as Set
    
            when:
            spec.assertMatches(-1, [':a', ':b', ':c', ':d'])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top