- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 4,619 for _new (0.02 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
@BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests mockConfig = new BaseConfiguration(false); response = new NetShareEnumResponse(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
mockConfig = mock(Configuration.class); outputBuffer = new byte[1024]; outputBufferOffset = 0; response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset); } @Test @DisplayName("Should create response with configuration and output buffer") void testConstructor() { // Given byte[] buffer = new byte[512]; int offset = 10; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length())); } @Test public void testReadParameterWordsWireFormat() { // This method is expected to do nothing and return 0 int result = smbComDelete.readParameterWordsWireFormat(new byte[0], 0); assertEquals(0, result); } @Test public void testReadBytesWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
int positiveValue = 12345; NdrLong ndrLongPositive = new NdrLong(positiveValue); assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value int negativeValue = -54321; NdrLong ndrLongNegative = new NdrLong(negativeValue);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
testRotate(new int[] {1, 2}, -1, new int[] {2, 1}); testRotate(new int[] {1, 2}, -2, new int[] {1, 2}); testRotate(new int[] {1, 2}, 0, new int[] {1, 2}); testRotate(new int[] {1, 2}, 1, new int[] {2, 1}); testRotate(new int[] {1, 2}, 2, new int[] {1, 2}); testRotate(new int[] {1, 2}, 3, new int[] {2, 1}); testRotate(new int[] {1, 2, 3}, -5, new int[] {3, 1, 2});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
float boost = 1.0f; List<String> readings = new ArrayList<>(); readings.add("reading1"); List<String> fields = new ArrayList<>(); fields.add("field1"); List<String> tags = new ArrayList<>(); tags.add("tag1"); List<String> roles = new ArrayList<>(); roles.add("role1"); elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(map.size()); ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size()); for (Entry<Range<K>, ? extends V> entry : map.entrySet()) { rangesBuilder.add(entry.getKey()); valuesBuilder.add(entry.getValue()); } return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
try { final Auth auth = new Auth(getSettings(), request, response); final AuthnRequestParams authnRequestParams = new AuthnRequestParams(false, false, true); final String loginUrl = auth.login(null, authnRequestParams, true); request.getSession().setAttribute(SAML_STATE, UuidUtil.create());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.4K bytes - Viewed (3) -
cmd/lock-rest-server-common.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" ) var ( errLockConflict = errors.New("lock conflict") errLockNotInitialized = errors.New("lock not initialized") errLockNotFound = errors.New("lock not found")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 973 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java
public class ReadingConverterChainTest extends TestCase { public void test_convert() throws Exception { /* * TODO ReadingConverterChain chain = new ReadingConverterChain(); chain.addConverter(new KatakanaConverter()); * chain.addConverter(new KatakanaToAlphabetConverter()); chain.init(); * * List<String> list = chain.convert("検索"); assertTrue(list.contains("ケンサク"));
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.2K bytes - Viewed (0)