- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 5,084 for rreturn (0.05 sec)
-
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
assertEquals(mockCredentials, wrapper.getCredentials(), "Initial credentials should be set by constructor"); } @Test @DisplayName("Should return the credentials provided in the constructor") void testGetCredentials() { assertEquals(mockCredentials, wrapper.getCredentials(), "getCredentials should return the initially set credentials"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/ValueGraphBuilder.java
super(directed); } /** Returns a {@link ValueGraphBuilder} for building directed graphs. */ public static ValueGraphBuilder<Object, Object> directed() { return new ValueGraphBuilder<>(true); } /** Returns a {@link ValueGraphBuilder} for building undirected graphs. */ public static ValueGraphBuilder<Object, Object> undirected() { return new ValueGraphBuilder<>(false); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, mockResponse.getSubCommand()); } @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() { // Test that writeSetupWireFormat always returns 0 byte[] buffer = new byte[100]; int result = response.writeSetupWireFormat(buffer, 0); assertEquals(0, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
try { assertFalse("add(present) should return false or throw", collection.add(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require( value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES}, absent = RESTRICTS_ELEMENTS) public void testAdd_nullSupported() { assertTrue("add(null) should return true", collection.add(null)); expectAdded((E) null);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
try { assertFalse("add(present) should return false or throw", collection.add(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require( value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES}, absent = RESTRICTS_ELEMENTS) public void testAdd_nullSupported() { assertTrue("add(null) should return true", collection.add(null)); expectAdded((E) null);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
} /** * Returns the <code>SQL</code>. * * @param cause the underlying exception * @return the <code>SQL</code> */ protected static String getSql(final SQLException cause) { if (cause instanceof ClSQLException) { return ((ClSQLException) cause).getSql(); } return ""; } /** * Returns the real message. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java
} /** * Returns the {@link Class} of the target. * * @return {@link Class} of the target */ public Class<?> getTargetClass() { return targetClass; } /** * Returns the method name. * * @return Method name */ public String getMethodName() { return methodName; } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.3K bytes - Viewed (0) -
migrator/migrator.go
return nil, errors.New("not support") } // GetTypeAliases return database type aliases func (m Migrator) GetTypeAliases(databaseTypeName string) []string { return nil } // TableType return tableType gorm.TableType and execErr error func (m Migrator) TableType(dst interface{}) (gorm.TableType, error) { return nil, errors.New("not support")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jun 06 02:35:01 UTC 2025 - 29.5K bytes - Viewed (0) -
cmd/hasher.go
) // getSHA256Hash returns SHA-256 hash in hex encoding of given data. func getSHA256Hash(data []byte) string { return hex.EncodeToString(getSHA256Sum(data)) } // getSHA256Hash returns SHA-256 sum of given data. func getSHA256Sum(data []byte) []byte { hash := sha256.New() hash.Write(data) return hash.Sum(nil) } // getMD5Sum returns MD5 sum of given data. func getMD5Sum(data []byte) []byte {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 27 13:00:19 UTC 2022 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid."); verify(smbFileHandle, times(1)).isValid(); } /** * Test isValid() when the handle is invalid. */ @Test void testIsValid_whenInvalid() { when(smbFileHandle.isValid()).thenReturn(false); assertFalse(smbFileHandle.isValid(), "isValid should return false when the handle is invalid.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0)