- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 184 for cdat (0.04 sec)
-
src/image/png/paeth_test.go
copy(cdat2, cdat0) filterPaeth(cdat1, pdat1, bytesPerPixel) slowFilterPaeth(cdat2, pdat2, bytesPerPixel) if !bytes.Equal(cdat1, cdat2) { t.Errorf("bytesPerPixel: %d\npdat0: % x\ncdat0: % x\ngot: % x\nwant: % x", bytesPerPixel, pdat0, cdat0, cdat1, cdat2) break } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.2K bytes - Viewed (0) -
src/image/png/reader.go
rcol := uint16(cdat[6*x+0])<<8 | uint16(cdat[6*x+1]) gcol := uint16(cdat[6*x+2])<<8 | uint16(cdat[6*x+3]) bcol := uint16(cdat[6*x+4])<<8 | uint16(cdat[6*x+5]) rgba64.SetRGBA64(x, y, color.RGBA64{rcol, gcol, bcol, 0xffff}) } } case cbTCA16: for x := 0; x < width; x++ { rcol := uint16(cdat[8*x+0])<<8 | uint16(cdat[8*x+1]) gcol := uint16(cdat[8*x+2])<<8 | uint16(cdat[8*x+3])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 26K bytes - Viewed (0) -
src/image/png/paeth.go
return b } return c } // filterPaeth applies the Paeth filter to the cdat slice. // cdat is the current row's data, pdat is the previous row's data. func filterPaeth(cdat, pdat []byte, bytesPerPixel int) { var a, b, c, pa, pb, pc int for i := 0; i < bytesPerPixel; i++ { a, c = 0, 0 for j := i; j < len(cdat); j += bytesPerPixel { b = int(pdat[j]) pa = b - c pb = a - c pc = abs(pa + pb) pa = abs(pa)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.7K bytes - Viewed (0) -
src/image/png/writer.go
// in their enumeration order (ftNone, ftSub, ftUp, ftAverage, ftPaeth). cdat0 := cr[0][1:] cdat1 := cr[1][1:] cdat2 := cr[2][1:] cdat3 := cr[3][1:] cdat4 := cr[4][1:] pdat := pr[1:] n := len(cdat0) // The up filter. sum := 0 for i := 0; i < n; i++ { cdat2[i] = cdat0[i] - pdat[i] sum += abs8(cdat2[i]) } best := sum filter := ftUp // The Paeth filter. sum = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 15.4K bytes - Viewed (0) -
src/regexp/testdata/basic.dat
Russ Cox <******@****.***> 1620744764 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 13 14:52:20 UTC 2021 - 8.4K bytes - Viewed (0) -
src/regexp/testdata/repetition.dat
Russ Cox <******@****.***> 1410149331 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 6.6K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
nl.ca ns.ca nt.ca nu.ca on.ca pe.ca qc.ca sk.ca yk.ca // gc.ca: https://en.wikipedia.org/wiki/.gc.ca // see also: http://registry.gc.ca/en/SubdomainFAQ gc.ca // cat : https://en.wikipedia.org/wiki/.cat cat // cc : https://en.wikipedia.org/wiki/.cc cc // cd : https://en.wikipedia.org/wiki/.cd // see also: https://www.nic.cd/domain/insertDomain_2.jsp?act=1 cd gov.cd
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 240.3K bytes - Viewed (0) -
src/regexp/testdata/nullsubexpr.dat
Jes Cok <******@****.***> 1687506468 +0000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 1.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/xml/SimpleXmlWriterSpec.groovy
writer.endCDATA() writer.endElement() then: xml == "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><![CDATA[丈, ]]>😃<![CDATA[, and नि]]><![CDATA[x丈, नि, ]]>😃<![CDATA[]]></root>" } def "writes CDATA"() { when: writer.startElement("root") writer.startElement("stuff") writer.startCDATA()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 02 12:15:58 UTC 2021 - 14.1K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterMergeRerunSpec.groovy
<system-out><![CDATA[m2-out-1]]></system-out> <system-err><![CDATA[m2-err-1]]></system-err> <rerunFailure message="m2-message-2" type="ExceptionType"> <stackTrace>m2-stackTrace-2</stackTrace> <system-out><![CDATA[m2-out-2]]></system-out> <system-err><![CDATA[m2-err-2]]></system-err> </rerunFailure> </testcase> <system-out><![CDATA[class-out]]></system-out> <system-err><![CDATA[class-err]]></system-err>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:01 UTC 2024 - 12.4K bytes - Viewed (0)