Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,376 for works (0.09 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class ImmutableDoubleArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        public String toString() {
          return "BY_TO_STRING";
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
      }
    
      // Always equal is a valid total ordering. And it works for any Object.
      private static final class AlwaysEqual extends Ordering<@Nullable Object>
          implements Serializable {
        private static final AlwaysEqual INSTANCE = new AlwaysEqual();
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

        }
      }
    
      @J2ktIncompatible
      static final class SerializedForm implements Serializable {
        final Object[] elements;
        final int[] counts;
    
        // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013
        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

              RowSortedTable<R, ? extends C, ? extends V> table) {
        /*
         * It's not ? extends R, because it's technically not covariant in R. Specifically,
         * table.rowMap().comparator() could return a comparator that only works for the ? extends R.
         * Collections.unmodifiableSortedMap makes the same distinction.
         */
        return new UnmodifiableRowSortedMap<>(table);
      }
    
      private static final class UnmodifiableRowSortedMap<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    You can have any combinations of dependencies that you want.
    
    **FastAPI** will make sure everything is run in the correct order.
    
    /// note | Technical Details
    
    This works thanks to Python's <a href="https://docs.python.org/3/library/contextlib.html" class="external-link" target="_blank">Context Managers</a>.
    
    **FastAPI** uses them internally to achieve this.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    I think `Union[SomeType, None]` is more explicit about what it means.
    
    It's just about the words and names. But those words can affect how you and your teammates think about the code.
    
    As an example, let's take this function:
    
    {* ../../docs_src/python_types/tutorial009c.py hl[1,4] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. android/pom.xml

                  <!-- FeatureUtilTest.*ExampleDerivedInterfaceTester, com.google.common.io.*Tester, incidentally FeatureSpecificTestSuiteBuilderTest.MyAbstractTester (but we don't care either way because it's not meant to run on its own but works OK if it does)... but not NullPointerTesterTest, etc. -->
                  <exclude>%regex[.*Tester.class]</exclude>
                  <!-- Anonymous TestCase subclasses in GeneratedMonitorTest -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  8. pom.xml

                  <!-- FeatureUtilTest.*ExampleDerivedInterfaceTester, com.google.common.io.*Tester, incidentally FeatureSpecificTestSuiteBuilderTest.MyAbstractTester (but we don't care either way because it's not meant to run on its own but works OK if it does)... but not NullPointerTesterTest, etc. -->
                  <exclude>%regex[.*Tester.class]</exclude>
                  <!-- Anonymous TestCase subclasses in GeneratedMonitorTest -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  9. cmd/endpoint.go

    	// DNS. Following code ensures that we treat if one of the endpoint
    	// says its local for a given host - it is true for all endpoints
    	// for the same host. Following code ensures that this assumption
    	// is true and it works in all scenarios and it is safe to assume
    	// for a given host.
    	endpointLocalMap := make(map[string]bool)
    	for _, ep := range endpoints {
    		if ep.IsLocal {
    			endpointLocalMap[ep.Host] = ep.IsLocal
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Types.java

           * Well, really, we use this when we think we're running under Java 8, as determined by some
           * logic in the static initializer, which does not check for getTypeName specifically. We
           * should really validate that it works as desired for all Android versions that we support.
           */
          @IgnoreJRERequirement
          @SuppressWarnings("AndroidJdkLibsChecker")
          @Override
          String typeName(Type type) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top