Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3841 - 3850 of 6,187 for New (0.01 seconds)

  1. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertFalse(entry("foo", 1).equals(new Object()));
        assertFalse(entry("foo", 1).equals(null));
      }
    
      public void testEqualsNull() {
        assertEquals(control(NE, 1), entry(NE, 1));
        assertFalse(control(NE, 1).equals(entry(NE, 2)));
        assertFalse(entry(NE, 1).equals(control("bar", 1)));
        assertFalse(entry(NE, 1).equals(new Object()));
        assertFalse(entry(NE, 1).equals(null));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 COM_RENAME command implementation.
     *
     * This command renames a file or directory on the SMB server.
     * It takes an old filename and new filename and performs the rename operation.
     */
    public class SmbComRename extends ServerMessageBlock {
    
        private final int searchAttributes;
        private final String oldFileName;
        private final String newFileName;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java

            SettingsResourceLoader.loadJsonResource("non_existing_resource.json");
        }
    
        @Test
        public void testLoadJsonResourceWithSubstitution() throws IOException {
            Map<String, String> substitutions = new HashMap<>();
            substitutions.put("${test.placeholder}", "replaced_value");
    
            // Test loading with substitution - using a resource that exists
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

                CollectionFeature.SUPPORTS_ADD,
                CollectionFeature.SUPPORTS_REMOVE);
    
        TestSuite suite = new TestSuite();
        suite.addTestSuite(CompactLinkedHashSetTest.class);
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

            return (Path) Proxy.newProxyInstance(
                    ExclusionArtifactFilter.class.getClassLoader(), new Class[] {Path.class}, (proxy1, method, args) -> {
                        if ("toString".equals(method.getName())) {
                            return value;
                        }
                        throw new UnsupportedOperationException();
                    });
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

        }
    
        public String getOriginalMessage() {
            return originalMessage;
        }
    
        protected static String constructArtifactPath(List<String> path, String indentation) {
            StringBuilder sb = new StringBuilder();
    
            if (path != null) {
                sb.append(LS);
                sb.append(indentation);
                sb.append("Path to dependency: ");
                sb.append(LS);
                int num = 1;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 01 21:22:14 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

            // nothing
        }
    
        /**
         * The bearer string.
         */
        protected static final String BEARER = "Bearer";
    
        /**
         * The random instance.
         */
        protected Random random = new SecureRandom();
    
        /**
         * Generate the access token.
         * @return The access token.
         */
        public String generateAccessToken() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return future.get(0, SECONDS);
        } catch (InterruptedException e) {
          throw new AssertionError();
        } catch (TimeoutException e) {
          throw new AssertionError();
        }
      }
    
      private TestPlatform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

    /**
     * Unit test for {@link Atomics}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AtomicsTest extends TestCase {
    
      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertThat(Atomics.newReference().get()).isNull();
      }
    
      public void testNewReference_withInitialValue() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/SingletonImmutableTable.java

      ImmutableCollection<V> createValues() {
        return ImmutableSet.of(singleValue);
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return SerializedForm.create(this, new int[] {0}, new int[] {0});
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top