Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4551 - 4560 of 7,014 for _return (0.14 sec)

  1. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        switch (edgeType) {
          case UNDIRECTED:
            return NetworkBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        switch (edgeType) {
          case UNDIRECTED:
            return NetworkBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

        private val functionalTestBucketProvider = StatisticBasedFunctionalTestBucketProvider(model, testBucketsJson)
        override fun createFunctionalTestsFor(stage: Stage, testCoverage: TestCoverage): List<FunctionalTest> {
            return when {
                testCoverage.testType == TestType.quickFeedbackCrossVersion -> quickCrossVersionTestBucketProvider.createFunctionalTestsFor(stage, testCoverage)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 09:50:29 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

            builder.put(entry.getKey(), entry.getValue());
          }
          return ImmutableBiMap.copyOf(builder);
        }
      }
    
      public static class ImmutableBiMapCopyOfEntriesGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          return ImmutableBiMap.copyOf(asList(entries));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

      @CollectionSize.Require(ZERO)
      public void testPeek_empty() {
        assertNull("emptyQueue.peek() should return null", getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

        assertTrue(
            "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0())));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_withDuplicates() {
        MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4());
        assertTrue("add(hasDuplicates) should return true", getSet().addAll(elementsToAdd));
        expectAdded(e3(), e4());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

        static InternalMavenSession from(Session session) {
            return cast(InternalMavenSession.class, session, "session should be an " + InternalMavenSession.class);
        }
    
        static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) {
            return cast(InternalMavenSession.class, session.getData().get(InternalSession.class), "session");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/archive/tar/stat_actime1.go

    //go:build aix || linux || dragonfly || openbsd || solaris
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atim.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctim.Unix())
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 431 bytes
    - Viewed (0)
  9. compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java

         *
         * @param testName name of the test case
         */
        public AppTest( String testName )
        {
            super( testName );
        }
    
        /**
         * @return the suite of tests being tested
         */
        public static Test suite()
        {
            return new TestSuite( AppTest.class );
        }
    
        /**
         * Rigorous Test :-)
         */
        public void testApp()
        {
            assertTrue( true );
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 651 bytes
    - Viewed (0)
  10. docs_src/response_model/tutorial001_py310.py

        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items() -> Any:
        return [
            {"name": "Portal Gun", "price": 42.0},
            {"name": "Plumbus", "price": 32.0},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 537 bytes
    - Viewed (0)
Back to top