Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 24 (0.11 sec)

  1. src/archive/zip/reader_test.go

    			},
    		},
    	},
    	{
    		Name:   "r.zip",
    		Source: returnRecursiveZip,
    		File: []ZipTestFile{
    			{
    				Name:     "r/r.zip",
    				Content:  rZipBytes(),
    				Modified: time.Date(2010, 3, 4, 0, 24, 16, 0, time.UTC),
    				Mode:     0666,
    			},
    		},
    	},
    	{
    		Name: "symlink.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "symlink",
    				Content:  []byte("../target"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    		}
    		check(t, "TestBasicOperations (4)", &buf, "a")
    
    		buf.WriteByte(testString[1])
    		check(t, "TestBasicOperations (5)", &buf, "ab")
    
    		n, err = buf.Write(testBytes[2:26])
    		if want := 24; err != nil || n != want {
    			t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil)
    		}
    		check(t, "TestBasicOperations (6)", &buf, testString[0:26])
    
    		buf.Truncate(26)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    		t.Fatal(err)
    	}
    }
    
    func TestHeaderIgnoredSize(t *testing.T) {
    	h := FileHeader{
    		Name:   "foo.txt",
    		Method: Deflate,
    		Extra:  []byte{zip64ExtraID & 0xFF, zip64ExtraID >> 8, 24, 0, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8}, // bad size but shouldn't be consulted
    	}
    	testValidHeader(&h, t)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/333/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/file.txt",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	RLDICRCC $0, R4, $15, R6        // 788603c5
    	RLDIC $0, R4, $15, R6           // 788603c8
    	RLDICCC $0, R4, $15, R6         // 788603c9
    	CLRLSLWI $16, R5, $8, R4        // 54a4422e
    	CLRLSLDI $24, R4, $2, R3        // 78831588
    	RLDCR	$1, R1, $-16, R1        // 78210ee4
    	RLDCRCC	$1, R1, $-16, R1        // 78210ee5
    	CNTLZW R3,R4                    // 7c640034
    	CNTLZWCC R3,R4                  // 7c640035
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  6. src/archive/tar/stat_unix.go

    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    			minor := uint32(dev & 0xffffff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "dragonfly":
    			// Copied from golang.org/x/sys/unix/dev_dragonfly.go.
    			major := uint32((dev >> 8) & 0xff)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/archive/zip/writer.go

    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    			var buf [28]byte // 2x uint16 + 3x uint64
    			eb := writeBuf(buf[:])
    			eb.uint16(zip64ExtraID)
    			eb.uint16(24) // size = 3x uint64
    			eb.uint64(h.UncompressedSize64)
    			eb.uint64(h.CompressedSize64)
    			eb.uint64(h.offset)
    			h.Extra = append(h.Extra, buf[:]...)
    		} else {
    			b.uint32(h.CompressedSize)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top