Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 795 for bework (0.19 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * are running concurrently.
       *
       * <p>{@linkplain Executor#execute executed} tasks have a happens-before order as defined in the
       * Java Language Specification. Tasks execute with the same happens-before order that the function
       * calls to {@link Executor#execute `execute()`} that submitted those tasks had.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          ImmutableSortedSet.Builder<String> builder = ImmutableSortedSet.orderedBy(comparator);
          builder.add(BEFORE_FIRST);
          builder.add(BEFORE_FIRST_2);
          builder.add(elements);
          builder.add(AFTER_LAST);
          builder.add(AFTER_LAST_2);
          return builder
              .build()
              .subSet(BEFORE_FIRST_2, AFTER_LAST_2)
              .asList()
              .subList(1, elements.length + 1);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      /**
       * Private replacement for {@link com.google.gwt.user.client.rpc.GwtTransient} to work around
       * build-system quirks.
       */
      private @interface GwtTransient {}
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Other handleException() callers may see this as soon as we publish it. We need to populate
           * it with the initial failure before we do, or else they may think that the initial failure
           * has never been seen before.
           */
          addInitialException(seenExceptionsLocal);
    
          ATOMIC_HELPER.compareAndSetSeenExceptions(this, null, seenExceptionsLocal);
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
        if (features == null) {
          throw new IllegalStateException("Call withFeatures() before createTestSuite().");
        }
      }
    
      @SuppressWarnings("rawtypes") // class literals
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                        }
                    }
                }
            } catch (IOException | XMLStreamException e) {
                // The root locator can be used very early during the setup of Maven,
                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            when(sessionDataMock.get(any())).thenReturn(new NoTransformerContext());
    
            Path beforePomFile =
                    Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath();
            Path afterPomFile =
                    Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath();
            Path tempFile = Files.createTempFile("", ".pom");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CollectCollectors.java

                      throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2);
                    }),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
               * nullness checker.
               */
              K key = keyFunction.apply(t);
              V newValue = valueFunction.apply(t);
              accum.put(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  9. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        void testMng6964() {
            String a = "1-0.alpha";
            String b = "1-0.beta";
            String c = "1";
    
            checkVersionsOrder(a, c); // Now a < c, but before MNG-6964 they were equal
            checkVersionsOrder(b, c); // Now b < c, but before MNG-6964 they were equal
            checkVersionsOrder(a, b); // Should still be true
        }
    
        @Test
        void testLocaleIndependent() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteStreams.java

        int remaining = (int) expectedSize;
    
        while (remaining > 0) {
          int off = (int) expectedSize - remaining;
          int read = in.read(bytes, off, remaining);
          if (read == -1) {
            // end of stream before reading expectedSize bytes
            // just return the bytes read so far
            return Arrays.copyOf(bytes, off);
          }
          remaining -= read;
        }
    
        // bytes is now full
        int b = in.read();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top