Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 923 for arra (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        String[] array = {"foo", "bar"};
        assertFalse(Iterators.forArrayWithPosition(array, 2).hasNext());
        assertThrows(IndexOutOfBoundsException.class, () -> Iterators.forArrayWithPosition(array, -1));
        assertThrows(IndexOutOfBoundsException.class, () -> Iterators.forArrayWithPosition(array, 3));
      }
    
      @GwtIncompatible // unreasonably slow
      public void testForArrayUsingTester() {
        new IteratorTester<Integer>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/JvmUtil.java

         * Options can be prefixed with version numbers to specify compatibility.
         * Format: "version:option" or "version-:option" (for version and above).
         *
         * @param values the array of JVM options to filter
         * @return the filtered array of JVM options applicable to the current Java version
         */
        public static String[] filterJvmOptions(final String[] values) {
            final int version = getJavaVersion();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

        /**
         * Get size of this structure
         *
         * @return size in bytes (16)
         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
        /**
         * Encode this structure to byte array
         *
         * @param dst destination buffer
         * @param dstIndex starting index
         * @return number of bytes written
         */
        public int encode(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertTrue(emptyBean.hasRoles(null));
    
            // Test getRoles returns empty array
            String[] roles = emptyBean.getRoles();
            assertNotNull(roles);
            assertEquals(0, roles.length);
    
            // Test getPermissions returns empty array
            String[] permissions = emptyBean.getPermissions();
            assertNotNull(permissions);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. scan.go

    						var val interface{}
    						values[idx] = &val
    					}
    				}
    			}
    		}
    
    		switch reflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			var (
    				elem        reflect.Value
    				isArrayKind = reflectValue.Kind() == reflect.Array
    			)
    
    			if !update || reflectValue.Len() == 0 {
    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

         */
        public OpenIdUser getUser() {
            return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray());
        }
    
        /**
         * Gets the default groups as an array.
         *
         * @return the default groups
         */
        protected static String[] getDefaultGroupsAsArray() {
            final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.groups");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/core/io/InputStreamUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param is the input stream (must not be {@literal null})
         * @return the byte array
         */
        public static final byte[] getBytes(final InputStream is) {
            assertArgumentNotNull("is", is);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. association.go

    		switch rel.Type {
    		case schema.BelongsTo:
    			if len(values) == 0 {
    				updateMap := map[string]interface{}{}
    				switch reflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < reflectValue.Len(); i++ {
    						association.Error = rel.Field.Set(association.DB.Statement.Context, reflectValue.Index(i), reflect.Zero(rel.Field.FieldType).Interface())
    					}
    				case reflect.Struct:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

          return standardRetainAll(collection);
        }
    
        @Override
        public Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
      }
    
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top