- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for ptrtest (0.1 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/asm_zos_s390x.s
done: MOVD R4, 0(R9) // Save stack pointer. RET // // function to test if a pointer can be safely dereferenced (content read) // return 0 for succces // TEXT ยทptrtest(SB), NOSPLIT, $0-16 MOVD arg+0(FP), R10 // test pointer in R10 // set up R2 to point to CEECAADMC BYTE $0xE3; BYTE $0x20; BYTE $0x04; BYTE $0xB8; BYTE $0x00; BYTE $0x17 // llgt 2,1208
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 11.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
// ------------------------------- // pointer validity test // good pointer returns 0 // bad pointer returns 1 // //go:nosplit func ptrtest(uintptr) uint64 // Load memory at ptr location with error handling if the location is invalid // //go:noescape func safeload(ptr uintptr) (value uintptr, error uintptr) const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/TryTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal import spock.lang.Specification class TryTest extends Specification { def "successful is successful"() { expect: Try.successful(10).successful } def "failure is mot successful"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go
t.Run(tt.name, func(t *testing.T) { mock := krttest.NewMock(t, tt.inputs) a := newAmbientUnitTest() builder := a.serviceEntryWorkloadBuilder( GetMeshConfig(mock), krttest.GetMockCollection[model.WorkloadAuthorization](mock), krttest.GetMockCollection[*securityclient.PeerAuthentication](mock), krttest.GetMockCollection[Waypoint](mock), krttest.GetMockCollection[*v1.Namespace](mock), )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.3K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGeneratorSpec.groovy
.add(new TestMethodResult(1, "foo")) def barTest = new TestClassResult(2, 'BarTest', 100) .add(new TestMethodResult(2, "bar")) .add(new TestMethodResult(3, "bar2")) resultsProvider.visitClasses(_) >> { Action action -> action.execute(fooTest) action.execute(barTest) } when: generator.generate() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 19:07:01 UTC 2024 - 3.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/services_test.go
}, }, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { mock := krttest.NewMock(t, tt.inputs) a := newAmbientUnitTest() builder := a.serviceEntryServiceBuilder( krttest.GetMockCollection[Waypoint](mock), krttest.GetMockCollection[*v1.Namespace](mock), ) wrapper := builder(krt.TestingDummyContext{}, tt.se)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 12:29:55 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/runtime/runtime_test.go
{ name: "invalid: new runtime service fails", prepare: func(mock *fakeImpl) { mock.NewRemoteRuntimeServiceReturns(nil, errTest) }, shouldError: true, }, { name: "invalid: new image service fails", prepare: func(mock *fakeImpl) { mock.NewRemoteImageServiceReturns(nil, errTest) }, shouldError: true, }, } { t.Run(tc.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 06:33:22 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy
file("build/reports/pmd/test.xml").exists() } def "analyze bad code"() { badCode() expect: fails("check") failure.assertHasDescription("Execution failed for task ':pmdTest'.") failure.assertThatCause(containsString("2 PMD rule violations were found. See the report at:")) failure.assertHasResolutions(SCAN)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 18:47:00 UTC 2024 - 13.5K bytes - Viewed (0) -
pkg/kube/krt/krttest/helpers.go
inputs []any } // NewMock creates a helper to build Collections of static inputs for use with testing. // Example usage: // // mock := krttest.NewMock(t, []any{serviceFoo, podBar, namespaceBaz}) // pods := krttest.GetMockCollection[Pod](mock) // makes a collection of all Pod types from inputs func NewMock(t test.Failer, inputs []any) *MockCollection { t.Helper() mc := &MockCollection{t: t, inputs: inputs} t.Cleanup(func() { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 19:33:01 UTC 2024 - 2.1K bytes - Viewed (0)