Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,444 for scratch (0.08 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        try {
          Files.move(from, to);
          if (success) {
            assertFalse(from.exists());
            assertTrue(to.exists());
          } else {
            fail("expected exception");
          }
        } catch (IOException possiblyExpected) {
          if (success) {
            throw possiblyExpected;
          }
        }
      }
    
      private static class UnmovableFile extends File {
    
        private final boolean canRename;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. android/pom.xml

                </excludes>
                <redirectTestOutputToFile>true</redirectTestOutputToFile>
                <runOrder>alphabetical</runOrder>
                <!-- Set max heap for tests. -->
                <!-- Catch dependencies on the default locale by setting it to hi-IN. -->
                <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN ${test.add.args} ${test.add.opens}</argLine>
              </configuration>
            </plugin>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. pom.xml

                </excludes>
                <redirectTestOutputToFile>true</redirectTestOutputToFile>
                <runOrder>alphabetical</runOrder>
                <!-- Set max heap for tests. -->
                <!-- Catch dependencies on the default locale by setting it to hi-IN. -->
                <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN ${test.add.args} ${test.add.opens}</argLine>
              </configuration>
            </plugin>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Streams.java

        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
        // to propagate immediately.
        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
            if (exception == null) {
              exception = e;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getMethod(Class<?> clazz, String name) {
        try {
          return clazz.getMethod(name);
        } catch (Exception e) {
          throw new IllegalArgumentException(e);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/MediaTypeTest.java

                new Function<Field, MediaType>() {
                  @Override
                  public MediaType apply(Field input) {
                    try {
                      return (MediaType) input.get(null);
                    } catch (Exception e) {
                      throw new RuntimeException(e);
                    }
                  }
                });
      }
    
      public void testCreate_invalidType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                          transform(infiniteSetsFromStartIndex, ImmutableList::copyOf));
              Set<String> immutableCopy;
              try {
                immutableCopy = copyOf(input);
              } catch (RuntimeException e) {
                throw new RuntimeException(
                    Strings.lenientFormat(
                        "byAscendingSize %s, startIndex %s, inputIsSet %s",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

              default:
                assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
                try {
                  network.edgeConnectingOrNull(node, otherNode);
                  fail();
                } catch (IllegalArgumentException expected) {
                }
            }
    
            boolean isSelfLoop = node.equals(otherNode);
            boolean connected = !edgesConnecting.isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableListMultimap.java

          }
          builder.put(key, valuesBuilder.build());
          tmpSize += valueCount;
        }
    
        ImmutableMap<Object, ImmutableList<Object>> tmpMap;
        try {
          tmpMap = builder.buildOrThrow();
        } catch (IllegalArgumentException e) {
          throw (InvalidObjectException) new InvalidObjectException(e.getMessage()).initCause(e);
        }
    
        FieldSettersHolder.MAP_FIELD_SETTER.set(this, tmpMap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Queues.java

              while (true) {
                try {
                  e = q.poll(deadline - System.nanoTime(), NANOSECONDS);
                  break;
                } catch (InterruptedException ex) {
                  interrupted = true; // note interruption and retry
                }
              }
              if (e == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top