Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for umagic (0.24 sec)

  1. src/internal/xcoff/ar.go

    	// Read File Header
    	var magic [SAIAMAG]byte
    	if _, err := sr.ReadAt(magic[:], 0); err != nil {
    		return nil, err
    	}
    
    	arch := new(Archive)
    	switch string(magic[:]) {
    	case AIAMAGBIG:
    		arch.magic = string(magic[:])
    	case AIAMAG:
    		return nil, fmt.Errorf("small AIX archive not supported")
    	default:
    		return nil, fmt.Errorf("unrecognised archive magic: 0x%x", magic)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_test.go

    		}
    
    		if x.i != x.n {
    			t.Fatalf("wrong x.i after swap: x.i=%#x x.n=%#x", x.i, x.n)
    		}
    
    		if x.before != _magic || x.after != _magic {
    			t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, _magic, _magic)
    		}
    	}
    }
    
    func TestStorepNoWB(t *testing.T) {
    	var p [2]*int
    	for i := range p {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/hash/adler32/adler32.go

    const (
    	magic         = "adl\x01"
    	marshaledSize = len(magic) + 4
    )
    
    func (d *digest) MarshalBinary() ([]byte, error) {
    	b := make([]byte, 0, marshaledSize)
    	b = append(b, magic...)
    	b = byteorder.BeAppendUint32(b, uint32(*d))
    	return b, nil
    }
    
    func (d *digest) UnmarshalBinary(b []byte) error {
    	if len(b) < len(magic) || string(b[:len(magic)]) != magic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/crypto/md5/md5.go

    	return b, nil
    }
    
    func (d *digest) UnmarshalBinary(b []byte) error {
    	if len(b) < len(magic) || string(b[:len(magic)]) != magic {
    		return errors.New("crypto/md5: invalid hash state identifier")
    	}
    	if len(b) != marshaledSize {
    		return errors.New("crypto/md5: invalid hash state size")
    	}
    	b = b[len(magic):]
    	b, d.s[0] = consumeUint32(b)
    	b, d.s[1] = consumeUint32(b)
    	b, d.s[2] = consumeUint32(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/runtime/time_test.go

    	var frames []fakeTimeFrame
    	for len(x) != 0 {
    		if len(x) < 4+8+4 {
    			return nil, errors.New("truncated header")
    		}
    		const magic = "\x00\x00PB"
    		if string(x[:len(magic)]) != magic {
    			return nil, errors.New("bad magic")
    		}
    		x = x[len(magic):]
    		time := binary.BigEndian.Uint64(x)
    		x = x[8:]
    		dlen := binary.BigEndian.Uint32(x)
    		x = x[4:]
    		data := string(x[:dlen])
    		x = x[dlen:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 03:40:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/crypto/sha1/sha1.go

    	return b, nil
    }
    
    func (d *digest) UnmarshalBinary(b []byte) error {
    	if len(b) < len(magic) || string(b[:len(magic)]) != magic {
    		return errors.New("crypto/sha1: invalid hash state identifier")
    	}
    	if len(b) != marshaledSize {
    		return errors.New("crypto/sha1: invalid hash state size")
    	}
    	b = b[len(magic):]
    	b, d.h[0] = consumeUint32(b)
    	b, d.h[1] = consumeUint32(b)
    	b, d.h[2] = consumeUint32(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/hash/crc64/crc64.go

    func (d *digest) BlockSize() int { return 1 }
    
    func (d *digest) Reset() { d.crc = 0 }
    
    const (
    	magic         = "crc\x02"
    	marshaledSize = len(magic) + 8 + 8
    )
    
    func (d *digest) MarshalBinary() ([]byte, error) {
    	b := make([]byte, 0, marshaledSize)
    	b = append(b, magic...)
    	b = byteorder.BeAppendUint64(b, tableSum(d.tab))
    	b = byteorder.BeAppendUint64(b, d.crc)
    	return b, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/hash/crc32/crc32.go

    func (d *digest) BlockSize() int { return 1 }
    
    func (d *digest) Reset() { d.crc = 0 }
    
    const (
    	magic         = "crc\x01"
    	marshaledSize = len(magic) + 4 + 4
    )
    
    func (d *digest) MarshalBinary() ([]byte, error) {
    	b := make([]byte, 0, marshaledSize)
    	b = append(b, magic...)
    	b = byteorder.BeAppendUint32(b, tableSum(d.tab))
    	b = byteorder.BeAppendUint32(b, d.crc)
    	return b, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/.gitattributes

    # Treat all files in the repo as binary, with no git magic updating
    # line endings. This produces predictable results in different environments.
    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings. So if they are checked in with CRLF endings, there should
    # be a test like the one in test/winbatch.go in the go repository.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 545 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

    import org.dbflute.mail.send.supplement.label.SMailLabelStrategy;
    import org.dbflute.optional.OptionalThing;
    import org.dbflute.util.DfStringUtil;
    import org.lastaflute.core.magic.async.AsyncManager;
    import org.lastaflute.core.magic.async.ConcurrentAsyncCall;
    import org.lastaflute.core.message.MessageManager;
    import org.lastaflute.core.util.ContainerUtil;
    
    /**
     * @author jflute
     */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top