Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,558 for arrays (0.03 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            policy.setChecksumPolicy("ignore");
            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

       *
       * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
       * array with a nullable element type. But probably they usually want an array with a non-nullable
       * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as
       * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.DataOutput;
    import java.io.IOException;
    
    /**
     * An extension of {@code DataOutput} for writing to in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
     * @author Jayaprabhakar Kadarkarai
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                if (passwordChars != null) {
                    passwordString = new String(passwordChars);
                    // Securely wipe the char array immediately after use
                    java.util.Arrays.fill(passwordChars, '\0');
                }
            }
    
            return new Type3Message(this.transportContext, msg2, this.targetName, passwordString,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.graph.TestUtil.EdgeType;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/NegTokenInitTest.java

            }
    
            @Test
            @DisplayName("Parse handles null mechanisms array")
            void testNullMechanisms() {
                NegTokenInit init = new NegTokenInit(null, 0, null, null);
                assertNull(init.getMechanisms());
    
                // Should not throw when converting to byte array
                assertDoesNotThrow(() -> init.toByteArray());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          }
        }
        return null;
      }
    
      private static <T> T createEmptyArray(Class<T> arrayType) {
        // getComponentType() is non-null because we call createEmptyArray only with an array type.
        return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0));
      }
    
      // Internal implementations of some classes, with public default constructor that get() needs.
      private static final class Dummies {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

    /**
     * Implementation class of {@link BeanDesc}.
     *
     * @author higa
     */
    public class BeanDescImpl implements BeanDesc {
    
        /** Empty object array */
        protected static final Object[] EMPTY_ARGS = new Object[0];
    
        /** Empty class array */
        protected static final Class<?>[] EMPTY_PARAM_TYPES = new Class<?>[0];
    
        /** The class of the bean */
        protected final Class<?> beanClass;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  9. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@code Iterable} which throws an exception on all invocations of the {@link
     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // sge.setLkey(disniRegion.getLocalKey());
                // sgeList.add(sge);
                //
                // sendWR.setSg_list(sgeList);
                // endpoint.postSend(Arrays.asList(sendWR)).execute().free();
    
                log.debug("DiSNI RDMA send completed, {} bytes", data.remaining());
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top