- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,121 for property (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
} @Test public void testGetTypeForShare() throws Exception { SmbFile share = new SmbFile("smb1://server/share/"); // To test this properly, we would need to mock connect0() and the tree object. // This is a limitation of unit testing such a coupled class. // We expect an SmbException because it will try to connect.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
return new UpgradeResult(Collections.emptySet(), Collections.emptySet(), Collections.emptySet()); } /** * Merges this result with another result, combining the sets of POMs. * This allows proper aggregation of results from multiple strategies without double-counting. */ public UpgradeResult merge(UpgradeResult other) { Set<Path> mergedProcessed = new HashSet<>(this.processedPoms);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
} @Override public int encode(byte[] dst, int dstIndex) { // We need to override the parent ServerMessageBlock2's encode // to properly simulate setting the length field int start = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeBytesWireFormat(dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
double req = requests.get(); double hit = req - misses.get(); // Currently, this is going into /dev/null, but I'll fix that System.out.println("hit rate: " + hit / req); } // for proper distributions later: // import JSci.maths.statistics.ProbabilityDistribution; // int key = (int) dist.inverse(random.nextDouble());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
acquiredLock.getLockName()); if (allowedPriorLocks.containsKey(acquiredLock)) { // The acquisition ordering from "acquiredLock" to "this" has already // been verified as safe. In a properly written application, this is // the common case. return; } PotentialDeadlockException previousDeadlockException = disallowedPriorLocks.get(acquiredLock);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
mockRequest.setMethod("POST"); mockRequest.setRequestURI("/test/uri"); webApiRequest = new WebApiRequest(mockRequest, customPath); // Verify that other methods are properly delegated assertEquals("POST", webApiRequest.getMethod()); assertEquals("/test/uri", webApiRequest.getRequestURI()); assertEquals(testHeaderValue, webApiRequest.getHeader(testHeader)); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* <p>The constructed {@code BloomFilter} will be serializable if the provided {@code Funnel<T>} * is. * * <p>It is recommended that the funnel be implemented as a Java enum. This has the benefit of * ensuring proper serialization and deserialization, which is important since {@link #equals} * also relies on object identity of funnels. * * @param funnel the funnel of T's that the constructed {@code BloomFilter} will useCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 10 22:28:12 GMT 2026 - 27.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
"Unknown q: " + query.getClass() + " => " + query); } /** * Converts a TermRangeQuery to a QueryBuilder with the given boost value. * Handles both search fields and default field queries with proper range semantics. * * @param context the query context * @param termRangeQuery the term range query to convert * @param boost the boost value to apply * @return the converted QueryBuilder */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
Exception cause = new Exception("Test cause"); SearchQueryException exception = new SearchQueryException(message, cause); // Verify serialVersionUID is properly set assertNotNull(exception); assertTrue(exception instanceof java.io.Serializable); } @Test public void test_stackTracePresence() { // Test that stack trace is present
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
} // List all of all test cases to validate various cases of reduce errors. testCases := []struct { errs []error ignoredErrs []error err error }{ // Validate if have reduced properly. {[]error{ errDiskNotFound, errDiskNotFound, errDiskFull, }, []error{}, errErasureReadQuorum}, // Validate if have no consensus. {[]error{ errDiskFull, errDiskNotFound, nil, nil,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0)