Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 74 for checkstyle (0.1 sec)

  1. android/guava/src/com/google/common/math/StatsAccumulator.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.math.DoubleUtils.ensureNonNegative;
    import static java.lang.Double.NaN;
    import static java.lang.Double.isFinite;
    import static java.lang.Double.isNaN;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.testing.Helpers.assertContainsAllOf;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/EndpointPairIterator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.AbstractIterator;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import java.util.Iterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.testing.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.testing.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

          int startPosition = position;
          String token = consumeTokenIfPresent(matcher);
          checkState(position != startPosition);
          return token;
        }
    
        char consumeCharacter(CharMatcher matcher) {
          checkState(hasMore());
          char c = previewChar();
          checkState(matcher.matches(c));
          position++;
          return c;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/InvalidatableSet.java

      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

          int startPosition = position;
          String token = consumeTokenIfPresent(matcher);
          checkState(position != startPosition);
          return token;
        }
    
        char consumeCharacter(CharMatcher matcher) {
          checkState(hasMore());
          char c = previewChar();
          checkState(matcher.matches(c));
          position++;
          return c;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            transitioned = true;
            if (!ready) {
              return;
            }
            // Update state.
            checkState(
                servicesByState.remove(from, service),
                "Service %s not at the expected location in the state map %s",
                service,
                from);
            checkState(
                servicesByState.put(to, service),
                "Service %s in the state map unexpectedly at %s",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top