- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for setField (0.26 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(lock, "pid", 123); setField(lock, "byteOffset", 100L); setField(lock, "lengthInBytes", 200L); LockingAndXRange unlock = new LockingAndXRange(false); setField(unlock, "pid", 456); setField(unlock, "byteOffset", 300L); setField(unlock, "lengthInBytes", 400L); setField(cmd, "locks", new LockingAndXRange[] { lock });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
final Field field = getClass().getField("objectField"); final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception { final Field field = getClass().getField("intField");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
String accountName = (String) getField(obj, "accountName"); String primaryDomain = (String) getField(obj, "primaryDomain"); // The actual implementation keeps lowercase for guest when Unicode is not enabled assertEquals("guest", accountName); assertEquals("DOM", primaryDomain); byte[] lm = (byte[]) getField(obj, "lmHash"); byte[] nt = (byte[]) getField(obj, "ntHash");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */ public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
ClassUtil.forName(""); } /** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testGetField_EmptyName() throws Exception { ClassUtil.getField(getClass(), ""); } /** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testGetMethod_EmptyName() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc hoge = beanDesc.getFieldDesc("HOGE"); assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE"))); assertThat(hoge.getFieldName(), is("HOGE")); assertThat(hoge.getFieldType(), is(sameClass(String.class))); assertThat(hoge.isPublic(), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt
val settings = Settings() assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse() assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE) } @Test fun setFields() { val settings = Settings() settings[Settings.HEADER_TABLE_SIZE] = 8096 assertThat(settings.headerTableSize).isEqualTo(8096) assertThat(settings.getEnablePush(true)).isTrue()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
*/ @Test public void testFieldType() throws Exception { final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class); final Field field = Hoge.class.getField("foo"); final ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(field, map); assertThat(desc.getRawClass(), is(sameClass(Map.class)));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String field = getSearchField(context.getDefaultField(), termRangeQuery.getField()); if (!isSearchField(field)) { final StringBuilder queryBuf = new StringBuilder(); queryBuf.append(termRangeQuery.includesLower() ? '[' : '{');
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
"LEGACY_KERBEROS_MECHANISM", "1.2.840.48018.1.2.2", "NTLMSSP_MECHANISM", "1.3.6.1.4.1.311.2.2.10"); for (Map.Entry<String, String> e : expected.entrySet()) { Field f = SpnegoConstants.class.getField(e.getKey()); int m = f.getModifiers(); assertTrue(Modifier.isPublic(m), e.getKey() + " must be public"); assertTrue(Modifier.isStatic(m), e.getKey() + " must be static");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.7K bytes - Viewed (0)