Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2051 - 2060 of 6,205 for newA (0.05 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

    import okhttp3.Response;
    
    public final class ParseResponseWithMoshi {
      private final OkHttpClient client = new OkHttpClient();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.8K bytes
    - Click Count (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

        }
    
        protected void mergeModel_MailingLists(
                Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
            target.setMailingLists(merge(
                    target.getMailingLists(), source.getMailingLists(), sourceDominant, new MailingListKeyComputer()));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertEquals(CronExpressionValidator.class, validators[0]);
        }
    
        // Test validation with valid cron expressions
        @Test
        public void test_validCronExpressions() {
            TestBean bean = new TestBean();
    
            // Test null value (should be valid)
            bean.setCronExpression(null);
            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testLenientFormat_badArgumentToString_gwtFriendly() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches("boiler <.*> plate");
      }
    
      private static class ThrowsOnToString {
        @Override
        public String toString() {
          throw new UnsupportedOperationException();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Sets.java

      public static <E extends @Nullable Object> HashSet<E> newHashSet(Iterator<? extends E> elements) {
        HashSet<E> set = new HashSet<>();
        Iterators.addAll(set, elements);
        return set;
      }
    
      /**
       * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        FileBackedOutputStream out =
            new FileBackedOutputStream(0, /* resetWhenGarbageCollected= */ true);
        out.write(new byte[10]);
        File file = out.getFile();
        assertThat(file.exists()).isTrue();
        reachabilityFence(out); // not sure if this is necessary even in theory
        return new FileAndWeakByteSource(file, new WeakReference<>(out.asByteSource()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

      /** Creates a new instance with the specified edge directionality. */
      private ValueGraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
      public static ValueGraphBuilder<Object, Object> directed() {
        return new ValueGraphBuilder<>(true);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

        }
    
        private void parseLifecyclePhaseDefinitions(Map<Plugin, Plugin> plugins, String phase, LifecyclePhase goals) {
            InputSource inputSource = new InputSource();
            inputSource.setModelId(DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_MODELID);
            InputLocation location = new InputLocation(-1, -1, inputSource);
            location.setLocation(0, location);
    
            List<LifecycleMojo> mojos = goals.getMojos();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        }
                        array = new ShareInfo0[_arrays];
                    }
                    _src = _src.derive(_arrayi);
                    for (int _i = 0; _i < _arrays; _i++) {
                        if (array[_i] == null) {
                            array[_i] = new ShareInfo0();
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

            }
            // Group validated queries by FacetQueryView and OR-join within the same group
            final Set<String> used = new java.util.HashSet<>();
            final List<String> groupedQueries = new ArrayList<>();
            for (final FacetQueryView view : facetQueryViewList) {
                final Set<String> viewValues = new java.util.HashSet<>(view.getQueryMap().values());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
Back to Top