Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 863 for IBytes (0.05 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      @GwtIncompatible // Shorts.fromByteArray, Shorts.toByteArray
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Shorts.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          short num = (short) r.nextInt();
          assertThat(Shorts.fromByteArray(Shorts.toByteArray(num))).isEqualTo(num);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

    public abstract class CharSource {
    
      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
       * Returns a {@link ByteSource} view of this char source that encodes chars read from this source
       * as bytes using the given {@link Charset}.
       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

    public abstract class CharSource {
    
      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
       * Returns a {@link ByteSource} view of this char source that encodes chars read from this source
       * as bytes using the given {@link Charset}.
       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    	Typeflag byte
    
    	Name     string // Name of file entry
    	Linkname string // Target name of link (valid for TypeLink or TypeSymlink)
    
    	Size  int64  // Logical file size in bytes
    	Mode  int64  // Permission and mode bits
    	Uid   int    // User ID of owner
    	Gid   int    // Group ID of owner
    	Uname string // User name of owner
    	Gname string // Group name of owner
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/NetbiosAddress.java

        /**
         * Retrieves the MAC address of the remote network interface. Samba returns all zeros.
         *
         * @param tc
         *            context to use
         *
         * @return the MAC address as an array of six bytes
         * @throws UnknownHostException
         *             if the host cannot be resolved to
         *             determine the MAC address.
         */
        byte[] getMacAddress(CIFSContext tc) throws UnknownHostException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SSPContextTest.java

                if (data == null) {
                    throw new CIFSException("data is null");
                }
                // Trivial MIC: 1-byte sum of all unsigned bytes
                int sum = 0;
                for (byte b : data) {
                    sum = (sum + (b & 0xFF)) & 0xFF;
                }
                return new byte[] { (byte) sum };
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/simple-oauth2.md

    Wenn die Passwörter nicht übereinstimmen, geben wir denselben Fehler zurück.
    
    #### Passwort-Hashing
    
    „Hashing“ bedeutet: Konvertieren eines Inhalts (in diesem Fall eines Passworts) in eine Folge von Bytes (ein schlichter String), die wie Kauderwelsch aussieht.
    
    Immer wenn Sie genau den gleichen Inhalt (genau das gleiche Passwort) übergeben, erhalten Sie genau den gleichen Kauderwelsch.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/security/simple-oauth2.md

    Si los passwords no coinciden, devolvemos el mismo error.
    
    #### Hashing de passwords
    
    "Hacer hash" significa: convertir algún contenido (un password en este caso) en una secuencia de bytes (solo un string) que parece un galimatías.
    
    Siempre que pases exactamente el mismo contenido (exactamente el mismo password) obtienes exactamente el mismo galimatías.
    
    Pero no puedes convertir del galimatías al password.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            byte[] newHash = (byte[]) calcMethod.invoke(transport, input, 0, input.length, oldHash);
    
            assertNotNull(newHash);
            assertEquals(64, newHash.length); // SHA-512 produces 64 bytes
            assertNotEquals(oldHash, newHash); // Should be different instance
        }
    
        /**
         * Test pre-auth integrity with non-SMB3.1.1 should throw exception
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            setErrorCode(response, 0);
    
            int bytesRead = response.readDataWireFormat(fullBuffer, startIndex, buffer.length);
    
            // Verify the method returns the correct number of bytes read
            assertTrue(bytesRead > 0);
            assertTrue(bytesRead <= buffer.length);
        }
    
        /**
         * Helper method to create a valid security descriptor buffer
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top