Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UnsupportedError (0.25 sec)

  1. cmd/kube-proxy/app/server_other.go

    }
    
    var unsupportedError = fmt.Errorf(runtime.GOOS + "/" + runtime.GOARCH + "is unsupported")
    
    // platformSetup is called after setting up the ProxyServer, but before creating the
    // Proxier. It should fill in any platform-specific fields and perform other
    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	return unsupportedError
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/proxy/util/nfacct/nfacct_others.go

    limitations under the License.
    */
    
    package nfacct
    
    import (
    	"fmt"
    	"runtime"
    )
    
    var unsupportedError = fmt.Errorf(runtime.GOOS + "/" + runtime.GOARCH + "is unsupported")
    
    func New() (Interface, error) {
    	return nil, unsupportedError
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 808 bytes
    - Viewed (0)
  3. src/image/png/reader.go

    func (e FormatError) Error() string { return "png: invalid format: " + string(e) }
    
    var chunkOrderError = FormatError("chunk out of order")
    
    // An UnsupportedError reports that the input uses a valid but unimplemented PNG feature.
    type UnsupportedError string
    
    func (e UnsupportedError) Error() string { return "png: unsupported feature: " + string(e) }
    
    func (d *decoder) parseIHDR(length uint32) error {
    	if length != 13 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/image/jpeg/reader.go

    func (e FormatError) Error() string { return "invalid JPEG format: " + string(e) }
    
    // An UnsupportedError reports that the input uses a valid but unimplemented JPEG feature.
    type UnsupportedError string
    
    func (e UnsupportedError) Error() string { return "unsupported JPEG feature: " + string(e) }
    
    var errUnsupportedSubsamplingRatio = UnsupportedError("luma/chroma subsampling ratio")
    
    // Component specification, specified in section B.2.2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  5. src/image/jpeg/scan.go

    							value, err := d.decodeHuffman(&d.huff[dcTable][scan[i].td])
    							if err != nil {
    								return err
    							}
    							if value > 16 {
    								return UnsupportedError("excessive DC component")
    							}
    							dcDelta, err := d.receiveExtend(value)
    							if err != nil {
    								return err
    							}
    							dc[compIndex] += dcDelta
    							b[0] = dc[compIndex] << al
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/image/png/reader_test.go

    		if tc.unsupportedConfig {
    			if err == nil {
    				t.Errorf("i=%d: DecodeConfig: got nil error, want non-nil", i)
    			} else if _, ok := err.(UnsupportedError); !ok {
    				t.Fatalf("Decode: got %v (of type %T), want non-nil error (of type png.UnsupportedError)", err, err)
    			}
    			continue
    		} else if err != nil {
    			t.Errorf("i=%d: DecodeConfig: %v", i, err)
    			continue
    		} else if cfg.Width != tc.width {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  7. src/image/png/writer.go

    		return int(d)
    	}
    	return 256 - int(d)
    }
    
    func (e *encoder) writeChunk(b []byte, name string) {
    	if e.err != nil {
    		return
    	}
    	n := uint32(len(b))
    	if int(n) != len(b) {
    		e.err = UnsupportedError(name + " chunk is too large: " + strconv.Itoa(len(b)))
    		return
    	}
    	binary.BigEndian.PutUint32(e.header[:4], n)
    	e.header[4] = name[0]
    	e.header[5] = name[1]
    	e.header[6] = name[2]
    	e.header[7] = name[3]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    	},
    	"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},
    		{"UnsupportedError", Type, 0},
    	},
    	"image/png": {
    		{"(*Encoder).Encode", Method, 4},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg image/jpeg, type UnsupportedError string
    pkg image/png, func Decode(io.Reader) (image.Image, error)
    pkg image/png, func DecodeConfig(io.Reader) (image.Config, error)
    pkg image/png, func Encode(io.Writer, image.Image) error
    pkg image/png, method (FormatError) Error() string
    pkg image/png, method (UnsupportedError) Error() string
    pkg image/png, type FormatError string
    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