Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 896 for Array (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes from the file into the specified byte array.
         *
         * @param b the byte array to read data into
         * @param off the offset in the array at which to start storing bytes
         * @param len the maximum number of bytes to read
         * @return the number of bytes read, or -1 if end of file is reached
         * @throws SmbException if an I/O error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. callbacks/associations.go

    								if _, ok := dest[rel.Name]; ok {
    									dest[rel.Name] = elem.Interface()
    								}
    							}
    						}
    					}
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					var (
    						rValLen   = db.Statement.ReflectValue.Len()
    						objs      = make([]reflect.Value, 0, rValLen)
    						fieldType = rel.Field.FieldType
    						isPtr     = fieldType.Kind() == reflect.Ptr
    					)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * differences are found, making the execution time independent of the position
         * of differing characters.
         *
         * @param a first char array to compare
         * @param b second char array to compare
         * @return true if arrays are equal, false otherwise
         */
        private static boolean constantTimeEquals(char[] a, char[] b) {
            if (a == null && b == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

        val sslSocket = delegate.createSocket(host, port, localAddress, localPort) as SSLSocket
        return configureSocket(sslSocket)
      }
    
      override fun getDefaultCipherSuites(): Array<String> = delegate.defaultCipherSuites
    
      override fun getSupportedCipherSuites(): Array<String> = delegate.supportedCipherSuites
    
      @Throws(IOException::class)
      override fun createSocket(
        socket: Socket,
        host: String,
        port: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

      private InetAddresses() {}
    
      /**
       * Returns an {@link Inet4Address}, given a byte array representation of the IPv4 address.
       *
       * @param bytes byte array representing an IPv4 address (should be of length 4)
       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

      }
    
      /** Returns an int array of the specified size, filled with ABSENT. */
      private static int[] createFilledWithAbsent(int size) {
        int[] array = new int[size];
        Arrays.fill(array, ABSENT);
        return array;
      }
    
      /** Equivalent to {@code Arrays.copyOf(array, newSize)}, save that the new elements are ABSENT. */
      private static int[] expandAndFillWithAbsent(int[] array, int newSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

        /**
         * Do not instantiate.
         */
        protected BinaryConversionUtil() {
        }
    
        /**
         * Converts to a {@literal byte} array.
         *
         * @param o
         *            The object to convert
         * @return The {@literal byte} array
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the security descriptor of the share as an array of ACEs.
         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            shareInfo2.remark = "Remark for Share2";
    
            // Create ShareInfoCtr1 with the shares
            srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1();
            shareInfoCtr1.count = 2;
            shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo1, shareInfo2 };
    
            // Inject the ShareInfoCtr1 using reflection
            Field infoField = srvsvc.ShareEnumAll.class.getDeclaredField("info");
            infoField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtStatusTest.java

        }
    
        @Test
        @DisplayName("Should have status messages array")
        void testStatusMessagesArray() {
            // When
            String[] messages = NtStatus.NT_STATUS_MESSAGES;
    
            // Then
            assertNotNull(messages);
            assertTrue(messages.length > 0);
            // Should have same length as codes array
            assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top