Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 140 for Implementation (0.2 sec)

  1. src/math/big/int_test.go

    	b := new(Int).SetBytes(bBytes)
    
    	d := new(Int).GCD(x, y, a, b)
    	x.Mul(x, a)
    	y.Mul(y, b)
    	x.Add(x, y)
    
    	return x.Cmp(d) == 0
    }
    
    // euclidExtGCD is a reference implementation of Euclid's
    // extended GCD algorithm for testing against optimized algorithms.
    // Requirements: a, b > 0
    func euclidExtGCD(a, b *Int) (g, x, y *Int) {
    	A := new(Int).Set(a)
    	B := new(Int).Set(b)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    // advance their `virtualStart` (that is, R(next dispatch in virtual world))
    // more slowly than the other queues (which are using more seats than they
    // are allocated).  The implementation has a hack that addresses part of
    // this imbalance but not all of it.  In this test, flow 1 can not use all
    // of its allocation during the first half, and *can* (and does) use all of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server_test.go

    	}
    }
    
    // Note: see comment in handshake_test.go for details of how the reference
    // tests work.
    
    // serverTest represents a test of the TLS server handshake against a reference
    // implementation.
    type serverTest struct {
    	// name is a freeform string identifying the test and the file in which
    	// the expected results will be stored.
    	name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // ideographic space
        assertThat(parse("http://h/\u3000").encodedPath).isEqualTo("/%E3%80%80")
      }
    
      @Test
      fun newBuilderResolve() {
        // Non-exhaustive tests because implementation is the same as resolve.
        val base = parse("http://host/a/b")
        assertThat(base.newBuilder("https://host2")!!.build())
          .isEqualTo(parse("https://host2/"))
        assertThat(base.newBuilder("//host2")!!.build())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      /**
       * Test to ensure we don't  throw a read timeout on responses that are progressing.  For this
       * case, we take a 4KiB body and throttle it to 1KiB/second.  We set the read timeout to two
       * seconds.  If our implementation is acting correctly, it will not throw, as it is progressing.
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun readTimeoutMoreGranularThanBodySize(
        protocol: Protocol,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	}
    }
    
    // An onlyReader only implements io.Reader, no matter what other methods the underlying implementation may have.
    type onlyReader struct {
    	io.Reader
    }
    
    // An onlyWriter only implements io.Writer, no matter what other methods the underlying implementation may have.
    type onlyWriter struct {
    	io.Writer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  7. src/runtime/mprof.go

    // them is responsible.
    //
    // Matching that behavior for runtime-internal locks will require identifying
    // which Ms are blocked on the mutex. The semaphore-based implementation is
    // ready to allow that, but the futex-based implementation will require a bit
    // more work. Until then, we report contention on runtime-internal locks with a
    // call stack taken from the unlock call (like the rest of the user-space
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. src/crypto/des/des_test.go

    func newCipher(key []byte) cipher.Block {
    	c, err := des.NewCipher(key)
    	if err != nil {
    		panic("NewCipher failed: " + err.Error())
    	}
    	return c
    }
    
    // Use the known weak keys to test DES implementation
    func TestWeakKeys(t *testing.T) {
    	for i, tt := range weakKeyTests {
    		var encrypt = func(in []byte) (out []byte) {
    			c := newCipher(tt.key)
    			out = make([]byte, len(in))
    			c.Encrypt(out, in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc

    As a matter of fact, Gradle cannot automatically discover _detached configurations_, which are basically dependency graphs resolved as an internal implementation detail of the execution of a task: they are not, in particular, declared as an input of the task because they effectively depend on the configuration of the task at execution time.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:36:31 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/sidecar_simulation_test.go

    				// TLS is not terminated, so we will attempt to decode as HTTP and fail
    				Error: simulation.ErrProtocolError,
    			},
    			Permissive: simulation.Result{
    				// This could also be a protocol error. In the current implementation, we choose not
    				// to create a match since if we did it would just be rejected in HCM; no match
    				// is more performant
    				Error: simulation.ErrNoFilterChain,
    			},
    			Strict: simulation.Result{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top