- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,990 for cgoUse (0.38 sec)
-
src/math/huge_test.go
if !close(-f1, f3) || !close(g1, g3) { t.Errorf("Sincos(%g) = %g, %g, want %g, %g", -trigHuge[i], f3, g3, -f1, g1) } } } func TestHugeTan(t *testing.T) { for i := 0; i < len(trigHuge); i++ { f1 := tanHuge[i] f2 := Tan(trigHuge[i]) if !close(f1, f2) { t.Errorf("Tan(%g) = %g, want %g", trigHuge[i], f2, f1) } f3 := Tan(-trigHuge[i]) if !close(-f1, f3) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 16:23:41 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/DefaultBinaryStoreTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0) -
src/net/http/responsewrite_test.go
// HTTP/1.1 response with unknown length and Connection: close { Response{ StatusCode: 200, ProtoMajor: 1, ProtoMinor: 1, Request: dummyReq("GET"), Header: Header{}, Body: io.NopCloser(strings.NewReader("abcdef")), ContentLength: -1, Close: true, }, "HTTP/1.1 200 OK\r\n" + "Connection: close\r\n" + "\r\n" + "abcdef", },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:07:32 UTC 2022 - 6.9K bytes - Viewed (0) -
src/net/file_test.go
case "unix", "unixpacket": defer ln1.Close() // UnixListener.Close calls syscall.Unlink internally default: if err := ln1.Close(); err != nil { t.Error(err) } } if err != nil { if perr := parseCommonError(err); perr != nil { t.Error(perr) } t.Fatal(err) } ln2, err := FileListener(f) if err := f.Close(); err != nil { t.Error(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6.4K bytes - Viewed (0) -
src/net/net_test.go
go func() { defer close(serverDone) cs, err := ln.Accept() if err != nil { return } <-dialed cs.(*TCPConn).SetLinger(0) cs.Close() }() defer func() { ln.Close() <-serverDone }() ss, err := Dial("tcp", ln.Addr().String()) close(dialed) if err != nil { t.Fatal(err) } defer ss.Close() _, err = ss.Read([]byte{0})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 21:04:44 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
PercentageOfNodesToScore() *int32 // SetPodNominator sets the PodNominator SetPodNominator(nominator PodNominator) // Close calls Close method of each plugin. Close() error } // Handle provides data and some tools that plugins can use. It is // passed to the plugin factories at the time of plugin initialization. Plugins
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 24K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy
thrown(IllegalStateException) } def "can close a lock multiple times"() { given: def lock = createLock(Exclusive) lock.close() expect: lock.close() } def "cannot read from file after lock has been closed"() { given: def lock = createLock(Exclusive) lock.close() when: lock.readFile({} as Supplier)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 13.6K bytes - Viewed (0) -
src/os/fifo_test.go
t.Logf("ignoring write error %v", err) rd.Close() wr.Close() continue } t.Fatalf("write to fifo %d failed: %v", i, err) } if _, err := rd.Read(make([]byte, len(msg))); err != nil { if errors.Is(err, syscall.EAGAIN) || errors.Is(err, syscall.ENOBUFS) { t.Logf("ignoring read error %v", err) rd.Close() wr.Close() continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:47:23 UTC 2024 - 6.1K bytes - Viewed (0)