Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,082 for Bits (0.07 sec)

  1. src/archive/zip/reader.go

    	if _, err := io.ReadFull(r, buf[off:12]); err != nil {
    		return err
    	}
    	b := readBuf(buf[:12])
    	if b.uint32() != f.CRC32 {
    		return ErrChecksum
    	}
    
    	// The two sizes that follow here can be either 32 bits or 64 bits
    	// but the spec is not very clear on this and different
    	// interpretations has been made causing incompatibilities. We
    	// already have the sizes from the central directory so we can
    	// just ignore these.
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  2. docs/es/docs/python-types.md

    En Python 3.10 también hay una **nueva sintaxis** donde puedes poner los posibles tipos separados por una <abbr title='también llamado "operador OR a nivel de bits", pero ese significado no es relevante aquí'>barra vertical (`|`)</abbr>.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial008b_py310.py!}
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
  3. cmd/test-utils_test.go

    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

    import jcifs.internal.smb2.io.Smb2ReadRequest;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.util.transport.TransportException;
    
    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    public class SmbFileInputStream extends InputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileInputStream.class);
    
        private SmbFileHandleImpl handle;
        private long fp;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

                    Arguments.of(FILE_NOTIFY_CHANGE_ALL, "All changes"), Arguments.of(0x00000000, "No filters"),
                    Arguments.of(0xFFFFFFFF, "All bits set"));
        }
    
        @ParameterizedTest
        @DisplayName("Test writeSetupWireFormat with different watchTree values")
        @CsvSource({ "true, 0x01", "false, 0x00" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. misc/cgo/gmp/gmp.go

    func (z *Int) Bytes() []byte {
    	b := make([]byte, (z.Len()+7)/8)
    	n := C.size_t(len(b))
    	C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0])
    	return b[0:n]
    }
    
    // Len returns the length of z in bits.  0 is considered to have length 1.
    func (z *Int) Len() int {
    	z.doinit()
    	return int(C.mpz_sizeinbase(&z.i[0], 2))
    }
    
    // Set sets z = x and returns z.
    func (z *Int) Set(x *Int) *Int {
    	z.doinit()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            long[] testValues = { 0L, // Zero
                    1L, // One
                    -1L, // Negative one
                    0x00000000FFFFFFFFL, // 32-bit max as long
                    0xFFFFFFFF00000000L, // High 32 bits set
                    0x7FFFFFFFFFFFFFFFL, // Long.MAX_VALUE
                    0x8000000000000000L, // Long.MIN_VALUE
                    0x0101010101010101L, // Repeating pattern
                    0xFEFEFEFEFEFEFEFEL // Another pattern
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.contains(specialRemark));
        }
    
        @Test
        @DisplayName("Test type masking with 0xFFFF")
        void testTypeMasking() {
            // Test that only lower 16 bits are considered for type determination
            int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                byte[] buf = new byte[8];
                int n = in.read(buf);
                assertEquals(3, n);
            }
    
            @Test
            @DisplayName("read() returns -1 when underlying readDirect hits EOF")
            void readSingleByteEOF() throws Exception {
                // Arrange SMB2 EOF via NT status code mapping in SmbFileInputStream
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. ci/official/containers/ml_build_arm64/builder.devtoolset/gcc9-fixups.patch

    -  return dynamic_addr - static_addr;
    +    _DYNAMIC sysmbol is used here as its link-time address stored in
    +    the special unrelocated first GOT entry.  */
    +
    +    extern ElfW(Dyn) _DYNAMIC[] attribute_hidden;
    +    return (ElfW(Addr)) &_DYNAMIC - elf_machine_dynamic ();
     }
     
     /* Set up the loaded object described by L so its unrelocated PLT
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top