- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 3,060 for SHOULD (0.06 sec)
- 
				
				api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.javaimport java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Denotes that a bean should be created as a singleton instance. * <p> * Singleton-scoped beans are instantiated once and reused throughout the entire * Maven execution. This scope should be used for stateless services or components * that can be safely shared across the entire build process. * <p> * Example usage: * <pre> Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.5K bytes - Viewed (0)
- 
				
				statement_test.go}) if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) { t.Errorf("Where conditions should be different") } }) } } func TestNilCondition(t *testing.T) { s := new(Statement) if len(s.BuildCondition(nil)) != 0 { t.Errorf("Nil condition should be empty") } } func TestNameMatcher(t *testing.T) { for k, v := range map[string][]string{ Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Dec 23 13:19:41 UTC 2023 - 1.9K bytes - Viewed (0)
- 
				
				guava-tests/test/com/google/common/escape/EscapersTest.javapublic void testNullEscaper() throws IOException { Escaper escaper = Escapers.nullEscaper(); EscaperAsserts.assertBasic(escaper); String s = "\0\n\t\\az09~\uD800\uDC00\uFFFF"; assertWithMessage("null escaper should have no effect").that(escaper.escape(s)).isEqualTo(s); } public void testBuilderInitialStateNoReplacement() { // Unsafe characters aren't modified by default (unsafeReplacement == null). Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java} @Test void testConstructorWithNullBuffer() { // This should not throw an exception TransCallNamedPipeResponse nullBufferResponse = new TransCallNamedPipeResponse(mockConfig, null); assertNotNull(nullBufferResponse); // But trying to read data should cause NullPointerException byte[] buffer = new byte[10];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/hash/Hasher.java* } * * <p>If you wish to avoid this, you should either prepend or append the size of each chunk. Keep in * mind that when dealing with char sequences, the encoded form of two concatenated char sequences * is not equivalent to the concatenation of their encoded form. Therefore, {@link * #putString(CharSequence, Charset)} should only be used consistently with <i>complete</i> * sequences and not broken into chunks.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 5.5K bytes - Viewed (0)
- 
				
				cmd/xl-storage_test.go} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1, true) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file") err := os.WriteFile(dir2, []byte("hello"), 0o777) Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0)
- 
				
				api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.javathrow new IllegalArgumentException("requestType should be COLLECT when calling collect()"); } return resolve(request); } /** * Flattens a list of nodes. * Note that the {@code PathScope} argument should usually be null as the dependency tree has been * filtered during collection for the appropriate scope. * Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 9.4K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.javaprotected int totalDataCount; /** Maximum number of parameter bytes the server should return */ protected int maxParameterCount; /** Maximum number of data bytes the server should return */ protected int maxDataCount; /** Maximum number of setup words the server should return */ protected byte maxSetupCount; /** Timeout in milliseconds to wait for the transaction to complete */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/fess/validation/CronExpressionTest.javapublic void test_validCronExpressions() { TestBean bean = new TestBean(); // Test null value (should be valid) bean.setCronExpression(null); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean); assertTrue(violations.isEmpty()); // Test empty string (should be valid) bean.setCronExpression(""); violations = validator.validate(bean); Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0)
- 
				
				android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.javapublic Entry<K, V> belowSamplesLesser() { // should never reach here! throw new UnsupportedOperationException(); } @Override public Entry<K, V> belowSamplesGreater() { // should never reach here! throw new UnsupportedOperationException(); } @Override public Entry<K, V> aboveSamplesLesser() { // should never reach here! Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0)