Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 322 for TUnused (0.05 seconds)

  1. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        setDefault(Dispatcher.class, Dispatcher.immediate());
      }
    
      private static class DummySubscriber {
    
        private final EventBus eventBus = new EventBus();
    
        @Subscribe
        public void handle(@Nullable Object unused) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/lex/stack.go

    	s.tr[len(s.tr)-1].SetBase(base)
    }
    
    func (s *Stack) Line() int {
    	return s.tr[len(s.tr)-1].Line()
    }
    
    func (s *Stack) Col() int {
    	return s.tr[len(s.tr)-1].Col()
    }
    
    func (s *Stack) Close() { // Unused.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jan 09 22:33:23 GMT 2017
    - 1.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        Combiner unused = ClosingFuture.whenAllComplete(asList(closingFuture));
        assertDerivingThrowsIllegalStateException(closingFuture);
        assertFinalStepThrowsIllegalStateException(closingFuture);
      }
    
      public void testWhenAllSucceed_preventsFurtherOperations() {
        ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value1"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  4. fastapi/_compat/v2.py

    from pydantic import PydanticUndefinedAnnotation as PydanticUndefinedAnnotation
    from pydantic import ValidationError as ValidationError
    from pydantic._internal._schema_generation_shared import (  # type: ignore[attr-defined]  # ty: ignore[unused-ignore-comment]
        GetJsonSchemaHandler as GetJsonSchemaHandler,
    )
    from pydantic._internal._typing_extra import eval_type_lenient  # ty: ignore[deprecated]
    from pydantic.fields import FieldInfo as FieldInfo
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/UpdateShasTask.java

                } else {
                    shaFiles.remove(shaFile);
                }
            }
    
            for (File shaFile : shaFiles) {
                logger.lifecycle("Removing unused sha " + shaFile.getName());
                shaFile.delete();
            }
        }
    
        private void createSha(File dependency, String jarName, File shaFile) throws IOException, NoSuchAlgorithmException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
                  Set<String> unused = network.edgesConnecting(EndpointPair.unordered(N1, N2));
                });
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Test
      public void edgeConnecting_orderMismatch() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCreation_generic() {
        List<String> a = ImmutableList.of("a");
        // only verify that there is no compile warning
        ImmutableList<List<String>> unused = ImmutableList.of(a, a);
      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        List<String[]> list = ImmutableList.<String[]>of(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java

        super(
            asList(ConstructionPathway.values()),
            n -> n * log(n),
            ImmutableList.of(
                QueryOp.create(
                    "count",
                    (ms, o) -> {
                      int unused = ms.count(o);
                    },
                    Math::log)));
      }
    
      /** All the ways to create an ImmutableMultiset. */
      enum ConstructionPathway implements Construction<Multiset<Object>> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from
      public void testLargeDurationsAreOk() {
        Duration threeHundredYears = Duration.ofDays(365 * 300);
        CacheBuilder<Object, Object> unused =
            CacheBuilder.newBuilder()
                .expireAfterWrite(threeHundredYears)
                .expireAfterAccess(threeHundredYears)
                .refreshAfterWrite(threeHundredYears);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Duration
      public void testLargeDurationsAreOk() {
        Duration threeHundredYears = Duration.ofDays(365 * 300);
        CacheBuilder<Object, Object> unused =
            CacheBuilder.newBuilder()
                .expireAfterWrite(threeHundredYears)
                .expireAfterAccess(threeHundredYears)
                .refreshAfterWrite(threeHundredYears);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top