Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2221 - 2230 of 5,485 for news (0.02 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                        return;
                    }
                }
            }
            throw new IllegalArgumentException(message);
        }
    
        public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) {
            Map<String, Artifact> artifactMap = new LinkedHashMap<>();
    
            if (artifacts != null) {
                for (Artifact artifact : artifacts) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public void addRequestedArtifact(Artifact artifact) {
            if (requestedArtifacts == null) {
                requestedArtifacts = new LinkedHashSet<>();
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

            extractProjectIdMethod.setAccessible(true);
    
            // Create a mock ModelBuilderResult with null effectiveModel but available rawModel
            ModelBuilderResult mockResult = new MockModelBuilderResult(
                    null, // effectiveModel is null
                    createMockModel("com.example", "test-project", "1.0.0"), // rawModel is available
                    null // fileModel is null
                    );
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(fh.getFileId()).thenReturn(new byte[16]);
    
            // Setup for ioctl request
            when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioctlResp);
            when(ioctlResp.getOutputLength()).thenReturn(42);
    
            byte[] in = new byte[128];
            byte[] out = new byte[256];
    
            // Act
            int n = handle.sendrecv(out, 1, 10, in, 128);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Invokable.java

     *
     * {@snippet :
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
     * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType());
     * }
     *
     * <p><b>Note:</b> earlier versions of this class inherited from {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

         *
         * @see SourceRoot#targetVersion()
         */
        @Nullable
        Version getTargetVersion();
    
        @Nonnull
        static DependencyResolverRequestBuilder builder() {
            return new DependencyResolverRequestBuilder();
        }
    
        @Nonnull
        static DependencyResolverRequest build(Session session, RequestType requestType, Artifact rootArtifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        void testDecodeThrowsException() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
    
            when(messageBlock.decode(buffer, bufferIndex)).thenThrow(new SMBProtocolDecodingException("Invalid buffer"));
    
            // When & Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashMap.java

          CompactLinkedHashMap<K, V> create() {
        return new CompactLinkedHashMap<>();
      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/BloomFilterStrategies.java

          this.data =
              new AtomicLongArray(Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING)));
          this.bitCount = new LongAdder();
        }
    
        // Used by serialization
        LockFreeBitArray(long[] data) {
          checkArgument(data.length > 0, "data length is zero!");
          this.data = new AtomicLongArray(data);
          this.bitCount = new LongAdder();
          long bitCount = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jan 08 14:27:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/InputStreamUtil.java

         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileInputStream(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top