Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 925 for asArray (0.23 sec)

  1. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

      @Override
      public HashCode hashInt(int input) {
        return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array());
      }
    
      @Override
      public HashCode hashLong(long input) {
        return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array());
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int len = input.length();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

     * stores it as a byte array in the ResultData, and provides a method to retrieve this data
     * as a ByteArrayInputStream.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object, checks if it has a response body,
     * and then reads the body into a byte array. This byte array is then set as the data
     * in the ResultData object.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcError.java

        /**
         * Array of all DCE/RPC fault codes
         */
        int[] DCERPC_FAULT_CODES =
                { DCERPC_FAULT_OTHER, DCERPC_FAULT_ACCESS_DENIED, DCERPC_FAULT_CANT_PERFORM, DCERPC_FAULT_NDR, DCERPC_FAULT_INVALID_TAG,
                        DCERPC_FAULT_CONTEXT_MISMATCH, DCERPC_FAULT_OP_RNG_ERROR, DCERPC_FAULT_UNK_IF, DCERPC_FAULT_PROTO_ERROR };
    
        /**
         * Array of human-readable messages for DCE/RPC fault codes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            assertEquals(expectedBytes.length, bytesWritten, "The number of bytes written should match the length of the dialect string.");
            // Verify the content of the destination array
            assertArrayEquals(expectedBytes, dst, "The destination array should contain the ASCII bytes of the dialect string.");
        }
    
        /**
         * Test the readParameterWordsWireFormat method.
         * This method should do nothing and return 0.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/DoublesMethodsForWeb.java

    public abstract class DoublesMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native double min(double... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native double max(double... array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            // Assert
            assertFalse(result);
            verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, null);
        }
    
        @Test
        @DisplayName("Test sign method with empty data array")
        void testSignWithEmptyData() {
            // Arrange
            byte[] emptyData = new byte[0];
            int offset = 0;
            int length = 0;
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link WinError} interface constants and static arrays.
     * The interface has no instance methods, so the tests focus on
     * value correctness and array integrity.  A tiny Mockito example
     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
        @DisplayName("Constant value checks")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_string.go

    // Code generated by "stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go xl-storage-format-v2.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Dec 02 19:29:16 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

            override fun checkClientTrusted(
              chain: Array<X509Certificate>,
              authType: String,
            ) {
            }
    
            override fun checkServerTrusted(
              chain: Array<X509Certificate>,
              authType: String,
            ) {
            }
    
            override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        private void checkVersionsArrayEqual(String[] array) {
            // compare against each other (including itself)
            for (int i = 0; i < array.length; ++i) {
                for (int j = i; j < array.length; ++j) {
                    checkVersionsEqual(array[i], array[j]);
                }
            }
        }
    
        private void checkVersionsOrder(String v1, String v2) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top