- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 6,205 for newA (0.03 seconds)
-
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
@Override public void setUp() throws Exception { super.setUp(); reference = new ValidTestObject(1, 2); equalsTester = new EqualsTester(); equalObject1 = new ValidTestObject(1, 2); equalObject2 = new ValidTestObject(1, 2); notEqualObject1 = new ValidTestObject(0, 2); } /** Test null reference yields error */ public void testAddNullReference() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy
if (line ==~ /\/\/\s*AUTOSENSE\s*/) { throw new InvalidUserDataException("$file:$lineNumber: " + "AUTOSENSE has been replaced by CONSOLE.") } if (line ==~ /\/\/\s*CONSOLE\s*/) { if (snippet == null) { throw new InvalidUserDataException("$file:$lineNumber: "
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 10:08:26 GMT 2021 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
DynamicProperties systemProps = new DynamicProperties(file); ComponentUtil.register(systemProps, "systemProperties"); sambaHelper = new SambaHelper(); } @Test public void test_smb_account() throws SmbException { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
when(src.export()).thenReturn(buildExportName(new Oid("1.2.3"), "client")); when(targ.export()).thenReturn(buildExportName(new Oid("1.2.3"), "service")); when(gssContext.getSrcName()).thenReturn(src); when(gssContext.getTargName()).thenReturn(targ); when(gssContext.getMech()).thenReturn(new Oid("1.2.3")); assertNull(ctx.searchSessionKey(new javax.security.auth.Subject())); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_afterGC() throws InterruptedException { MyInt canonical = new MyInt(5); MyInt not = new MyInt(5); Interner<MyInt> pool = Interners.newWeakInterner(); assertThat(pool.intern(canonical)).isSameInstanceAs(canonical); WeakReference<MyInt> signal = new WeakReference<>(canonical); canonical = null; // Hint to the JIT that canonical is unreachable
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { return new Metadata(new MetadataStaxReader().read(in, isStrict(options))); } catch (XMLStreamException e) { throw new MetadataParseException( e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getColumnNumber(),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java
nodePath = new NodeEnvironment.NodePath(path); LogConfigurator.setNodeName("test"); Settings settings = Settings.builder() .put(Environment.PATH_HOME_SETTING.getKey(), path) .put(Environment.PATH_DATA_SETTING.getKey(), path.resolve("data")) .build(); nodeEnv = new NodeEnvironment(settings, new Environment(settings, null));
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 27 15:29:12 GMT 2021 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Lists.java
int initialArraySize) { checkNonnegative(initialArraySize, "initialArraySize"); // for GWT. return new ArrayList<>(initialArraySize); } /** * Creates an {@code ArrayList} instance to hold {@code estimatedSize} elements, <i>plus</i> an * unspecified amount of padding; **don't do this**. Instead, use {@code new }{@link * ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly and choose an explicit paddingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.1K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
@BeforeEach public void setUp() { testGuid = new HandleGuid(); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } testLeaseKey = new Smb2LeaseKey(); } @Test public void testHandleInfoCreation() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
@CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0)