Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for pdat0 (0.15 sec)

  1. src/image/png/paeth_test.go

    			copy(pdat2, pdat0)
    			copy(cdat1, cdat0)
    			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)
  2. src/image/png/writer.go

    		cdat4[i] = cdat0[i] - pdat[i]
    		sum += abs8(cdat4[i])
    	}
    	for i := bpp; i < n; i++ {
    		cdat4[i] = cdat0[i] - paeth(cdat0[i-bpp], pdat[i], pdat[i-bpp])
    		sum += abs8(cdat4[i])
    		if sum >= best {
    			break
    		}
    	}
    	if sum < best {
    		best = sum
    		filter = ftPaeth
    	}
    
    	// The none filter.
    	sum = 0
    	for i := 0; i < n; i++ {
    		sum += abs8(cdat0[i])
    		if sum >= best {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/seh.go

    		// Reference:
    		// https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64#struct-runtime_function
    		pdata.AddPEImageRelativeAddrPlus(ctxt.Arch, s, 0)
    		pdata.AddPEImageRelativeAddrPlus(ctxt.Arch, s, ldr.SymSize(s))
    		pdata.AddPEImageRelativeAddrPlus(ctxt.Arch, xdata.Sym(), off)
    	}
    	sehp.pdata = append(sehp.pdata, pdata.Sym())
    	sehp.xdata = append(sehp.xdata, xdata.Sym())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadpe/seh.go

    		return processSEHAMD64(ldr, pdata)
    	default:
    		// TODO: support SEH on other architectures.
    		return fmt.Errorf("unsupported architecture for SEH: %v", arch.Family)
    	}
    }
    
    func processSEHAMD64(ldr *loader.Loader, pdata sym.LoaderSym) error {
    	// The following loop traverses a list of pdata entries,
    	// each entry being 3 relocations long. The first relocation
    	// is a pointer to the function symbol to which the pdata entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 16:20:28 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. src/image/png/paeth.go

    }
    
    // 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)
    			pb = abs(pb)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  6. .github/workflows/mint/minio-pools.yaml

    version: '3.7'
    
    # Settings and configurations that are common for all containers
    x-minio-common: &minio-common
      image: quay.io/minio/minio:${JOB_NAME}
      command: server --console-address ":9001" http://minio{1...4}/pdata{1...2} http://minio{5...8}/pdata{1...2}
      expose:
        - "9000"
        - "9001"
      environment:
        MINIO_CI_CD: "on"
        MINIO_ROOT_USER: "minio"
        MINIO_ROOT_PASSWORD: "minio123"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 03 21:18:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. cmd/iam-object-store.go

    		return data, nil
    	}
    
    	pdata, err := madmin.DecryptData(globalActiveCred.String(), bytes.NewReader(data))
    	if err == nil {
    		return pdata, nil
    	}
    	if GlobalKMS != nil {
    		pdata, err = config.DecryptBytes(GlobalKMS, data, kms.Context{
    			minioMetaBucket: path.Join(minioMetaBucket, objPath),
    		})
    		if err == nil {
    			return pdata, nil
    		}
    		pdata, err = config.DecryptBytes(GlobalKMS, data, kms.Context{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loadpe/ldpe.go

    		state.sectsyms[sect] = s
    		if sect.Name == ".rsrc" || strings.HasPrefix(sect.Name, ".rsrc$") {
    			ls.Resources = append(ls.Resources, s)
    		} else if bld.Type() == sym.SSEHSECT {
    			if sect.Name == ".pdata" {
    				ls.PData = s
    			} else if sect.Name == ".xdata" {
    				ls.XData = s
    			}
    		}
    	}
    
    	// Make a prepass over the symbols to collect info about COMDAT symbols.
    	if err := state.preprocessSymbols(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  9. src/runtime/runtime-seh_windows_test.go

    	}
    	// This test checks that Win32 is able to retrieve
    	// function metadata stored in the .pdata section
    	// by the Go linker.
    	// Win32 unwinding will fail if this test fails,
    	// as RtlUnwindEx uses RtlLookupFunctionEntry internally.
    	// If that's the case, don't bother investigating further,
    	// first fix the .pdata generation.
    	sehf1pc := abi.FuncPCABIInternal(sehf1)
    	var fnwithframe func()
    	fnwithframe = func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:52:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/runtime/alg.go

    		i := (*interfacetype)(unsafe.Pointer(t))
    		var t *_type
    		var pdata *unsafe.Pointer
    		if len(i.Methods) == 0 {
    			a := (*eface)(p)
    			t = a._type
    			if t == nil {
    				return nil
    			}
    			pdata = &a.data
    		} else {
    			a := (*iface)(p)
    			if a.tab == nil {
    				return nil
    			}
    			t = a.tab.Type
    			pdata = &a.data
    		}
    
    		if t.Equal == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top