Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 962 for inexact (0.13 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/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		// so node is the result.  Is it exact?
    
    		// (It's tempting to put this condition before the
    		// child loop, but it gives the wrong result in the
    		// case where a node (e.g. ExprStmt) and its sole
    		// child have equal intervals.)
    		if start == nodePos && end == nodeEnd {
    			return true // exact match
    		}
    
    		return false // inexact: overlaps multiple children
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/unify.go

    	// if there is an interface, the other type must implement the
    	// interface.
    	exact
    )
    
    func (m unifyMode) String() string {
    	switch m {
    	case 0:
    		return "inexact"
    	case assign:
    		return "assign"
    	case exact:
    		return "exact"
    	case assign | exact:
    		return "assign, exact"
    	}
    	return fmt.Sprintf("mode %d", m)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. src/go/types/unify.go

    	// if there is an interface, the other type must implement the
    	// interface.
    	exact
    )
    
    func (m unifyMode) String() string {
    	switch m {
    	case 0:
    		return "inexact"
    	case assign:
    		return "assign"
    	case exact:
    		return "exact"
    	case assign | exact:
    		return "assign, exact"
    	}
    	return fmt.Sprintf("mode %d", m)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. 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)
Back to top