- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 4,153 for SHOULD (0.04 seconds)
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
urlQueueService.insert(urlQueue); // Poll should return the item final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId); assertNotNull(polled); assertEquals("http://www.example.com/page1", polled.getUrl()); assertEquals(sessionId, polled.getSessionId()); // Second poll should return null (queue is empty)Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 14.5K bytes - Click Count (0) -
internal/dsync/locker.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import "context" // NetLocker is dsync compatible locker interface. type NetLocker interface { // Do read lock for given LockArgs. It should return // * a boolean to indicate success/failure of the operation
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jan 18 20:44:38 GMT 2022 - 2.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
.Builder() .body("abc") .addHeader("Content-Type: text/plain") .build(), ) // Make a request from client to server. It should succeed certificate checks (unfortunately the // rogue CA is trusted) but it should fail certificate pinning. val request = Request .Builder() .url(server.url("/")) .build() val call = client.newCall(request)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 24.4K bytes - Click Count (2) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
// Check if fields were added (they should be added by the store method) assertNotNull(dataMap.get("id"), "ID should be set"); assertNotNull(dataMap.get("doc_id"), "Doc ID should be set"); assertNotNull(dataMap.get("click_count"), "Click count should be set"); assertNotNull(dataMap.get("favorite_count"), "Favorite count should be set"); assertEquals(1, indexUpdateCallback.docList.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java
// Then assertNotNull(request, "The request object should not be null."); assertEquals(mockDomainHandle, request.domain_handle, "The domain handle should be set correctly."); assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly."); assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle_ide_fragment.xml
<message key="javadoc.missing" value="Public methods should be documented" /> </module> <module name="MissingJavadocPackage"> <property name="severity" value="warning"/> <message key="package.javadoc.missing" value="A description and other related documentation for a package should be written up in the package-info.java" /> </module>
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 21 18:58:39 GMT 2021 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data)); SocketInputStream sis = new SocketInputStream(in); // Skip should return 0 for negative or zero values assertEquals(0, sis.skip(skipBytes)); // All data should still be available assertEquals(10, sis.read()); } @Test @DisplayName("Skip correctly advances position in stream")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/crypto/key_test.go
func recoverTest(i int, shouldPass bool, t *testing.T) { if err := recover(); err == nil && !shouldPass { t.Errorf("Test %d should fail but passed successfully", i) } else if err != nil && shouldPass { t.Errorf("Test %d should pass but failed: %v", i, err) } } var generateKeyTests = []struct { ExtKey [32]byte Random io.Reader ShouldPass bool }{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 6.7K bytes - Click Count (0) -
architecture/standards/0010-gradle-properties-naming.md
For better ergonomics on the CLI, some properties can have supplementary command-line build option(s). The name of the feature in the build option SHOULD be the same as in the property name. Shared scheme for long-form build options: ``` --<feature-name>-<detail> ``` Decisions on the short-form build options should be made on a case by case basis, since the space of available names is small. ### Internal properties
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 06 09:25:54 GMT 2026 - 8K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
/** * Records cache hits. This should be called when a cache request returns a cached value. * * @param count the number of hits to record * @since 11.0 */ void recordHits(int count); /** * Records cache misses. This should be called when a cache request returns a value that was not * found in the cache. This method should be called by the loading thread, as well as by threadsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0)