Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for cmp1 (0.18 sec)

  1. test/codegen/comparisons.go

    	// s390x:`MOVHBR\t\(.*\), [R]`,`CMPW\t.*, [$]`
    	return s == "xx"
    }
    
    func CompareString2(s string) bool {
    	// amd64:`CMPL\t\(.*\), [$]`
    	// arm64:`MOVWU\t\(.*\), [R]`,`CMPW\t.*, [R]`
    	// ppc64le:`MOVWZ\t\(.*\), [R]`,`CMPW\t.*, [R]`
    	// s390x:`MOVWBR\t\(.*\), [R]`,`CMPW\t.*, [$]`
    	return s == "xxxx"
    }
    
    func CompareString3(s string) bool {
    	// amd64:`CMPQ\t\(.*\), [A-Z]`
    	// arm64:-`CMPW\t`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/image/png/reader.go

    )
    
    // A cb is a combination of color type and bit depth.
    const (
    	cbInvalid = iota
    	cbG1
    	cbG2
    	cbG4
    	cbG8
    	cbGA8
    	cbTC8
    	cbP1
    	cbP2
    	cbP4
    	cbP8
    	cbTCA8
    	cbG16
    	cbGA16
    	cbTC16
    	cbTCA16
    )
    
    func cbPaletted(cb int) bool {
    	return cbP1 <= cb && cb <= cbP8
    }
    
    func cbTrueColor(cb int) bool {
    	return cb == cbTC8 || cb == cbTC16
    }
    
    // Filter type, as per the PNG spec.
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  3. src/image/png/writer.go

    		e.tmp[9] = ctTrueColor
    	case cbP8:
    		e.tmp[8] = 8
    		e.tmp[9] = ctPaletted
    	case cbP4:
    		e.tmp[8] = 4
    		e.tmp[9] = ctPaletted
    	case cbP2:
    		e.tmp[8] = 2
    		e.tmp[9] = ctPaletted
    	case cbP1:
    		e.tmp[8] = 1
    		e.tmp[9] = ctPaletted
    	case cbTCA8:
    		e.tmp[8] = 8
    		e.tmp[9] = ctTrueColorAlpha
    	case cbG16:
    		e.tmp[8] = 16
    		e.tmp[9] = ctGrayscale
    	case cbTC16:
    		e.tmp[8] = 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

                'org:test:1.0' {
                    variant('api1') {
                        attribute('custom', 'c1')
                        capability('cap1')
                    }
                    variant('api2') {
                        attribute('custom', 'c2')
                        capability('cap1')
                    }
                    variant('runtime1') {
                        attribute('custom2', 'c1')
                        capability('cap2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    	{VSQRT_EQ_F32, []int{1, 0}, "VSQRT", "SQRTF"},
    	{VSQRT_EQ_F64, []int{1, 0}, "VSQRT", "SQRTD"},
    	{VCMP_EQ_F32, []int{1, 0}, "VCMP", "CMPF"},
    	{VCMP_EQ_F64, []int{1, 0}, "VCMP", "CMPD"},
    	{VCMP_E_EQ_F32, []int{1, 0}, "VCMP.E", "CMPF"},
    	{VCMP_E_EQ_F64, []int{1, 0}, "VCMP.E", "CMPD"},
    	{VLDR_EQ, []int{1}, "VLDR", "MOV"},
    	{VSTR_EQ, []int{1}, "VSTR", "MOV"},
    	{VMOV_EQ_F32, []int{1, 0}, "VMOV", "MOVF"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. pkg/slices/slices_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package slices
    
    import (
    	"cmp"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"strconv"
    	"testing"
    
    	cmp2 "github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tests/util/leak"
    )
    
    type s struct {
    	Junk string
    }
    
    func TestEqual(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/pv_controller_base.go

    // The method also removes any external PV Deletion Protection finalizers added on the PV, this represents CSI migration
    // rollback/disable scenarios.
    func modifyDeletionFinalizers(logger klog.Logger, cmpm CSIMigratedPluginManager, volume *v1.PersistentVolume) ([]string, bool) {
    	modified := false
    	var outFinalizers []string
    	if !utilfeature.DefaultFeatureGate.Enabled(features.HonorPVReclaimPolicy) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	for i := 0; i < 5<<10; i++ {
    		b.Write(buf)
    		b.Read(buf)
    		if i == 0 {
    			cap0 = b.Cap()
    		}
    	}
    	cap1 := b.Cap()
    	// (*Buffer).grow allows for 2x capacity slop before sliding,
    	// so set our error threshold at 3x.
    	if cap1 > cap0*3 {
    		t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0)
    	}
    }
    
    func BenchmarkWriteByte(b *testing.B) {
    	const n = 4 << 10
    	b.SetBytes(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/runtime/memmove_test.go

    		for x := 0; x <= size-n; x = x*7 + 1 { // offset in src
    			for y := 0; y <= size-n; y = y*9 + 1 { // offset in dst
    				copy(dst[y:y+n], src[x:x+n])
    				copyref(ref[y:y+n], src[x:x+n])
    				p := cmpb(dst, ref)
    				if p >= 0 {
    					t.Fatalf("Copy failed, copying from src[%d:%d] to dst[%d:%d].\nOffset %d is different, %v != %v", x, x+n, y, y+n, p, dst[p], ref[p])
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/runtime/asm_386.s

    	MOVL	$1, 0(SP)
    	CALL	runtime·exit(SB)
    	CALL	runtime·abort(SB)
    
    has_cpuid:
    	MOVL	$0, AX
    	CPUID
    	MOVL	AX, SI
    	CMPL	AX, $0
    	JE	nocpuinfo
    
    	CMPL	BX, $0x756E6547  // "Genu"
    	JNE	notintel
    	CMPL	DX, $0x49656E69  // "ineI"
    	JNE	notintel
    	CMPL	CX, $0x6C65746E  // "ntel"
    	JNE	notintel
    	MOVB	$1, runtime·isIntel(SB)
    notintel:
    
    	// Load EAX=1 cpuid flags
    	MOVL	$1, AX
    	CPUID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top