Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for formatError (0.54 sec)

  1. src/debug/pe/file.go

    func (f *File) ImportedLibraries() ([]string, error) {
    	// TODO
    	// cgo -dynimport don't use this for windows PE, so just return.
    	return nil, nil
    }
    
    // FormatError is unused.
    // The type is retained for compatibility.
    type FormatError struct {
    }
    
    func (e *FormatError) Error() string {
    	return "unknown error"
    }
    
    // readOptionalHeader accepts an io.ReadSeeker pointing to optional header in the PE file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRenderer.java

            contents.append("            <td>\n");
            currentArtifact.failures.forEach(this::formatError);
            contents.append("            </td>\n")
                .append("        </tr>\n");
        }
    
        private void formatError(RepositoryAwareVerificationFailure failure) {
            VerificationFailure vf = failure.getFailure();
            reportSignatureProblems(vf);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. src/image/png/writer.go

    	e.tmp[11] = 0 // default filter method
    	e.tmp[12] = 0 // non-interlaced
    	e.writeChunk(e.tmp[:13], "IHDR")
    }
    
    func (e *encoder) writePLTEAndTRNS(p color.Palette) {
    	if len(p) < 1 || len(p) > 256 {
    		e.err = FormatError("bad palette length: " + strconv.Itoa(len(p)))
    		return
    	}
    	last := -1
    	for i, c := range p {
    		c1 := color.NRGBAModel.Convert(c).(color.NRGBA)
    		e.tmp[3*i+0] = c1.R
    		e.tmp[3*i+1] = c1.G
    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. pkg/kube/client.go

    	if err != nil {
    		return nil, formatError(err)
    	}
    	resp, err := c.http.Do(req.WithContext(ctx))
    	if err != nil {
    		return nil, formatError(err)
    	}
    	defer closeQuietly(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("unexpected status code: %d", resp.StatusCode)
    	}
    	out, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return nil, formatError(err)
    	}
    
    	return out, nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Options.NumColors", Field, 2},
    		{"Options.Quantizer", Field, 2},
    	},
    	"image/jpeg": {
    		{"(FormatError).Error", Method, 0},
    		{"(UnsupportedError).Error", Method, 0},
    		{"Decode", Func, 0},
    		{"DecodeConfig", Func, 0},
    		{"DefaultQuality", Const, 0},
    		{"Encode", Func, 0},
    		{"FormatError", Type, 0},
    		{"Options", Type, 0},
    		{"Options.Quality", Field, 0},
    		{"Reader", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg debug/macho, type FatFile struct
    pkg debug/macho, type FatFile struct, Arches []FatArch
    pkg debug/macho, type FatFile struct, Magic uint32
    pkg debug/macho, var ErrNotFat *FormatError
    pkg debug/pe, type DataDirectory struct
    pkg debug/pe, type DataDirectory struct, Size uint32
    pkg debug/pe, type DataDirectory struct, VirtualAddress uint32
    pkg debug/pe, type File struct, OptionalHeader interface{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg image/jpeg, func DecodeConfig(io.Reader) (image.Config, error)
    pkg image/jpeg, func Encode(io.Writer, image.Image, *Options) error
    pkg image/jpeg, method (FormatError) Error() string
    pkg image/jpeg, method (UnsupportedError) Error() string
    pkg image/jpeg, type FormatError string
    pkg image/jpeg, type Options struct
    pkg image/jpeg, type Options struct, Quality int
    pkg image/jpeg, type Reader interface { Read, ReadByte }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top