Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for slicetest (0.12 sec)

  1. test/nil.go

    	f = nil
    	s = nil
    	m = nil
    	c = nil
    	t = nil
    	i = nil
    	ta = make([]IN, 1)
    	ta[0] = nil
    
    	_, _, _, _, _, _, _, _ = i, f, s, m, c, t, in, ta
    
    	arraytest()
    	chantest()
    	maptest()
    	slicetest()
    }
    
    func shouldPanic(f func()) {
    	defer func() {
    		if recover() == nil {
    			panic("not panicking")
    		}
    	}()
    	f()
    }
    
    func shouldBlock(f func()) {
    	go func() {
    		f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 2.2K bytes
    - Viewed (0)
  2. maven-model/src/test/java/org/apache/maven/model/SiteTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Site}.
     *
     */
    class SiteTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Site().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Site().equals(null));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/slices/slices_test.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package slices_test
    
    import (
    	"cmp"
    	"internal/race"
    	"internal/testenv"
    	"math"
    	. "slices"
    	"strings"
    	"testing"
    )
    
    var equalIntTests = []struct {
    	s1, s2 []int
    	want   bool
    }{
    	{
    		[]int{1},
    		nil,
    		false,
    	},
    	{
    		[]int{},
    		nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. pkg/util/slice/slice_test.go

    zhoumingcheng <******@****.***> 1656573697 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 30 07:21:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/slice_test.go

    Russ Cox <******@****.***> 1608703786 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 850 bytes
    - Viewed (0)
  6. src/runtime/slice_test.go

    Tobias Klauser <******@****.***> 1597656506 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 09:45:44 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  7. src/runtime/race/testdata/slice_test.go

    Keith Randall <******@****.***> 1581823387 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 25 23:41:03 UTC 2020
    - 8.9K bytes
    - Viewed (0)
  8. pkg/slices/slices_test.go

    John Howard <******@****.***> 1715384036 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/splice_test.go

    Eric Lin <******@****.***> 1685560352 +0000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go

    			if expectResources == nil {
    				expectResources = resources{}
    			}
    			require.Equal(tCtx, expectResources, actualResources)
    		})
    	}
    }
    
    type sliceList []*resourceapi.ResourceSlice
    
    func (l sliceList) List(selector labels.Selector) ([]*resourceapi.ResourceSlice, error) {
    	return l, nil
    }
    
    type sliceError string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top