Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for encgen (0.28 sec)

  1. src/encoding/gob/encgen.go

    	},
    	// uint8 Handled separately.
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("encgen: ")
    	flag.Parse()
    	if flag.NArg() != 0 {
    		log.Fatal("usage: encgen [--output filename]")
    	}
    	var b bytes.Buffer
    	fmt.Fprintf(&b, "// Code generated by go run encgen.go -output %s; DO NOT EDIT.\n", *output)
    	fmt.Fprint(&b, header)
    	printMaps(&b, "Array")
    	fmt.Fprint(&b, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/encoding/gob/decgen.go

    		slice[i] = uintptr(x)`,
    	},
    	// uint8 Handled separately.
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("decgen: ")
    	flag.Parse()
    	if flag.NArg() != 0 {
    		log.Fatal("usage: decgen [--output filename]")
    	}
    	var b bytes.Buffer
    	fmt.Fprintf(&b, "// Code generated by go run decgen.go -output %s; DO NOT EDIT.\n", *output)
    	fmt.Fprint(&b, header)
    	printMaps(&b, "Array")
    	fmt.Fprint(&b, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/encoding/gob/enc_helpers.go

    // Code generated by go run encgen.go -output enc_helpers.go; DO NOT EDIT.
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package gob
    
    import (
    	"reflect"
    )
    
    var encArrayHelper = map[reflect.Kind]encHelper{
    	reflect.Bool:       encBoolArray,
    	reflect.Complex64:  encComplex64Array,
    	reflect.Complex128: encComplex128Array,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 9.9K bytes
    - Viewed (0)
  4. src/encoding/gob/encode.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:generate go run encgen.go -output enc_helpers.go
    
    package gob
    
    import (
    	"encoding"
    	"encoding/binary"
    	"math"
    	"math/bits"
    	"reflect"
    	"sync"
    )
    
    const uint64Size = 8
    
    type encHelper func(state *encoderState, v reflect.Value) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

    /* encdec - encode and decode integers, times, and
     * internationalized strings to and from popular binary formats
     * http://www.ioplex.com/~miallen/encdec/
     * Copyright (c) 2003 Michael B. Allen <******@****.***>
     *
     * The GNU Library General Public License
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Library General Public
     * License as published by the Free Software Foundation; either
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Encdec.java

    /* encdec - encode and decode integers, times, and
     * internationalized strings to and from popular binary formats
     * http://www.ioplex.com/~miallen/encdec/
     * Copyright (c) 2003 Michael B. Allen <******@****.***>
     *
     * The GNU Library General Public License
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Library General Public
     * License as published by the Free Software Foundation; either
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/proxy.go

    	return p.Stat(ctx, bestVersion)
    }
    
    func (p *proxyRepo) Stat(ctx context.Context, rev string) (*RevInfo, error) {
    	encRev, err := module.EscapeVersion(rev)
    	if err != nil {
    		return nil, p.versionError(rev, err)
    	}
    	data, err := p.getBytes(ctx, "@v/"+encRev+".info")
    	if err != nil {
    		return nil, p.versionError(rev, err)
    	}
    	info := new(RevInfo)
    	if err := json.Unmarshal(data, info); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 15:21:05 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go

    	var encKey cryptobyte.String
    	s := cryptobyte.String(data)
    	if ok := s.ReadUint16LengthPrefixed(&encKey); !ok {
    		return nil, false, fmt.Errorf("invalid data encountered by envelope transformer: failed to read uint16 length prefixed data")
    	}
    
    	encData := []byte(s)
    
    	// Look up the decrypted DEK from cache or Envelope.
    	transformer := t.getTransformer(encKey)
    	if transformer == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            align(2);
            Encdec.enc_uint16le((short) s, this.buf, this.index);
            advance(2);
        }
    
    
        public int dec_ndr_short () {
            align(2);
            int val = Encdec.dec_uint16le(this.buf, this.index);
            advance(2);
            return val;
        }
    
    
        public void enc_ndr_long ( int l ) {
            align(4);
            Encdec.enc_uint32le(l, this.buf, this.index);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public final void writeShort( int v ) throws SmbException {
            Encdec.enc_uint16be( (short)v, tmp, 0 );
            write( tmp, 0, 2 );
        }
        public final void writeChar( int v ) throws SmbException {
            Encdec.enc_uint16be( (short)v, tmp, 0 );
            write( tmp, 0, 2 );
        }
        public final void writeInt( int v ) throws SmbException {
            Encdec.enc_uint32be( v, tmp, 0 );
            write( tmp, 0, 4 );
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
Back to top