Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 45 of 45 for findFirst (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                        return gav != null
                                && Objects.equals(gav.groupId(), groupId)
                                && Objects.equals(gav.artifactId(), artifactId);
                    })
                    .findFirst()
                    .orElse(null);
        }
    
        /**
         * Determines if a dependency version can be inferred from the project artifact.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                Element dependency = moduleBRoot
                        .child("dependencies")
                        .orElse(null)
                        .children("dependency")
                        .findFirst()
                        .orElse(null);
    
                // Verify dependency elements exist before inference
                assertNotNull(dependency.child("groupId").orElse(null));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(response1.body.string()).isEqualTo("ABC")
        val cacheEntry =
          fileSystem.allPaths
            .stream()
            .filter { e: Path -> e.name.endsWith(".0") }
            .findFirst()
            .orElseThrow { NoSuchElementException() }
        corruptCertificate(cacheEntry)
        val response2 = client.newCall(request).execute() // Not Cached!
        assertThat(response2.body.string()).isEqualTo("DEF")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

        private final long maxItems;
    
        /**
         * Constructs a Trans2FindNext2 request for continuing a file search.
         *
         * @param config the configuration to use
         * @param sid the search ID from a previous FindFirst2 response
         * @param resumeKey the resume key for continuing the search
         * @param filename the last filename from the previous response
         * @param batchCount the number of entries to return
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

    import jcifs.internal.fscc.FileBothDirectoryInfo;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Trans2 FindFirst2 response message for SMB1 directory enumeration.
     * This class handles the response from a TRANS2_FIND_FIRST2 request, which returns
     * the first set of directory entries matching the specified search criteria.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top