Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for acc2 (0.11 sec)

  1. src/math/big/sqrt.go

    //
    // If z's precision is 0, it is changed to x's precision before the
    // operation. Rounding is performed according to z's precision and
    // rounding mode, but z's accuracy is not computed. Specifically, the
    // result of z.Acc() is undefined.
    //
    // The function panics if z < 0. The value of z is undefined in that
    // case.
    func (z *Float) Sqrt(x *Float) *Float {
    	if debugFloat {
    		x.validate()
    	}
    
    	if z.prec == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/strings/search_test.go

    		{"abc", "abc", 0},
    		{"d", "abcdefg", 3},
    		{"nan", "banana", 2},
    		{"pan", "anpanman", 2},
    		{"nnaaman", "anpanmanam", -1},
    		{"abcd", "abc", -1},
    		{"abcd", "bcd", -1},
    		{"bcd", "abcd", 1},
    		{"abc", "acca", -1},
    		{"aa", "aaa", 0},
    		{"baa", "aaaaa", -1},
    		{"at that", "which finally halts.  at that point", 22},
    	}
    
    	for _, tc := range testCases {
    		got := StringFind(tc.pat, tc.text)
    		want := tc.index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

              ),
            )
            .sslSocketFactory(sslSocketFactory, handshakeCertificates.trustManager)
            .build()
    
        server.enqueue(MockResponse(body = "abc1"))
        server.enqueue(MockResponse(body = "abc2"))
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use { response ->
          assertEquals(200, response.code)
        }
    
        client.connectionPool.evictAll()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    		SecretKey:  svcSK,
    	})
    	if err != nil {
    		c.Fatalf("Unable to create svc acc: %v", err)
    	}
    	svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    	c.mustListObjects(ctx, svcClient, bucket)
    
    	err = madmClient.DeleteServiceAccount(ctx, svcAK)
    	if err != nil {
    		c.Fatalf("unable to delete svc acc: %v", err)
    	}
    	c.mustNotListObjects(ctx, svcClient, bucket)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. src/crypto/ecdh/nist.go

    	return &PublicKey{
    		curve:     key.curve,
    		publicKey: publicKey,
    	}
    }
    
    // isZero returns whether a is all zeroes in constant time.
    func isZero(a []byte) bool {
    	var acc byte
    	for _, b := range a {
    		acc |= b
    	}
    	return acc == 0
    }
    
    // isLess returns whether a < b, where a and b are big-endian buffers of the
    // same length and shorter than 72 bytes.
    func isLess(a, b []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. pkg/controller/volume/pvprotection/pv_protection_controller_test.go

    			// Update fails
    			update, ok := action.(clienttesting.UpdateAction)
    
    			if !ok {
    				t.Fatalf("Reactor got non-update action: %+v", action)
    			}
    			acc, _ := meta.Accessor(update.GetObject())
    			return true, nil, apierrors.NewForbidden(update.GetResource().GroupResource(), acc.GetName(), errors.New("Mock error"))
    		}
    		// Update succeeds
    		return false, nil, nil
    	}
    }
    
    func deleted(pv *v1.PersistentVolume) *v1.PersistentVolume {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/ShowToolchainsTaskTest.groovy

                def rootCause = new Exception("lastLine")
                n == 0
                    ? rootCause :
                    (1..n).inject(new Exception("lastLine")) { acc, it -> new Exception("line${n - it}", acc) }
            }
    
            def jdkPath = testLocation("path")
            defineJdks(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/syscall/security_windows.go

    // System specify target computer to search.
    func LookupSID(system, account string) (sid *SID, domain string, accType uint32, err error) {
    	if len(account) == 0 {
    		return nil, "", 0, EINVAL
    	}
    	acc, e := UTF16PtrFromString(account)
    	if e != nil {
    		return nil, "", 0, e
    	}
    	var sys *uint16
    	if len(system) > 0 {
    		sys, e = UTF16PtrFromString(system)
    		if e != nil {
    			return nil, "", 0, e
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolTest.kt

            val prettyRenderer = buildList {
                addIfNotNull(defaultRendererOption)
                addAll(directives[PRETTY_RENDERER_OPTION])
            }.fold(defaultRenderer) { acc, prettyRenderingMode ->
                prettyRenderingMode.transformation(acc)
            }
    
            fun KaSession.safePointer(ktSymbol: KaSymbol): PointerWrapper? {
                val regularPointer = ktSymbol.runCatching {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlayTest.kt

                resolvedDocument("configuring { a = 3 }"),
                resolvedDocument("configuring { b = 4 }")
            )
    
            val result = docs.reduce { acc, it ->
                val overlayResult = overlayResolvedDocuments(acc, it)
                DocumentWithResolution(overlayResult.document, overlayResult.overlayResolutionContainer)
            }
    
            assertEquals(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top