Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 579 for First (0.13 sec)

  1. docs/ru/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Вот и все.
    
    Это аннотации типов:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Это не то же самое, что объявление значений по умолчанию, например:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Это другая вещь.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() first element multiple times", "A", peekingIterator.peek());
        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Collections2.java

      }
    
      /** Returns {@code true} if the second list is a permutation of the first. */
      private static boolean isPermutation(List<?> first, List<?> second) {
        if (first.size() != second.size()) {
          return false;
        }
        ObjectCountHashMap<?> firstCounts = counts(first);
        ObjectCountHashMap<?> secondCounts = counts(second);
        if (first.size() != second.size()) {
          return false;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
        Optional<? extends Number> first = numbers.first();
        // Number value = first.or(0.5); // error
      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeFine1() {
        Optional<Number> optionalInt = Optional.of((Number) 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

      @CollectionSize.Require(ONE)
      public void testSingletonSetFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetLast() {
        assertEquals(a, sortedSet.last());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java

      public void testPoll_size1() {
        assertEquals("size1Queue.poll() should return first element", e0(), getQueue().poll());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testPoll_sizeMany() {
        assertEquals("sizeManyQueue.poll() should return first element", e0(), getQueue().poll());
        expectMissing(e0());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
      }
    
      private static Iterator<Integer> newDoubler(int first, final int last) {
        return new AbstractSequentialIterator<Integer>(first) {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultNode.java

            }
            return buffer.toString();
        }
    
        private static void join(StringBuilder buffer, List<String> details, String separator) {
            boolean first = true;
            for (String detail : details) {
                if (first) {
                    first = false;
                } else {
                    buffer.append(separator);
                }
                buffer.append(detail);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. chainable_api.go

    //
    //	// Find the first user with name jinzhu
    //	db.Where("name = ?", "jinzhu").First(&user)
    //	// Find the first user with name jinzhu and age 20
    //	db.Where(&User{Name: "jinzhu", Age: 20}).First(&user)
    //	// Find the first user with name jinzhu and age not equal to 20
    //	db.Where("name = ?", "jinzhu").Where("age <> ?", "20").First(&user)
    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
Back to top