Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkBytes (0.39 sec)

  1. src/runtime/memmove_ppc64x.s

    	// necessary.
    
    	SUB	SRC, TGT, TMP	// dest - src
    	CMPU	TMP, LEN, CR2	// < len?
    	BC	12, 8, backward // BLT CR2 backward
    
    	// Copying forward if no overlap.
    
    	BC	12, 6, checkbytes	// BEQ CR1, checkbytes
    	SRDCC	$3, DWORDS, OCTWORDS	// 64 byte chunks?
    	MOVD	$16, IDX16
    	BEQ	lt64gt8			// < 64 bytes
    
    	// Prepare for moves of 64 bytes at a time.
    
    forward64setup:
    	DCBTST	(TGT)			// prepare data cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

            byte[] mac = PacMac.calculateMacArcfourHMACMD5(usage, makeKey(keyb, 23), datab);
            checkBytes(javaMac, mac);
            checkBytes(Hex.decode(expect), javaMac);
            checkBytes(Hex.decode(expect), mac);
        }
    
    
        @Test
        public void testPACAESChecksum () throws GeneralSecurityException {
            String expect = "04EDBD6302A523C038391974";
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  3. src/math/big/int_test.go

    		t.Error(err)
    	}
    }
    
    func checkBytes(b []byte) bool {
    	// trim leading zero bytes since Bytes() won't return them
    	// (was issue 12231)
    	for len(b) > 0 && b[0] == 0 {
    		b = b[1:]
    	}
    	b2 := new(Int).SetBytes(b).Bytes()
    	return bytes.Equal(b, b2)
    }
    
    func TestBytes(t *testing.T) {
    	if err := quick.Check(checkBytes, nil); err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/subtyping/AbstractSemanticSubtypingTest.kt

    abstract class AbstractSemanticSubtypingTest : AbstractAnalysisApiBasedTest() {
        protected abstract val resultDirective: StringDirective
    
        protected abstract fun KaSession.checkTypes(
            expectedResult: Boolean,
            type1: KaType,
            type2: KaType,
            testServices: TestServices,
        )
    
        override fun configureTest(builder: TestConfigurationBuilder) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top