Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 729 for sale (0.03 sec)

  1. tests/sql_builder_test.go

    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestRow(t *testing.T) {
    	user1 := User{Name: "RowUser1", Age: 1}
    	user2 := User{Name: "RowUser2", Age: 10}
    	user3 := User{Name: "RowUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	row := DB.Table("users").Where("name = ?", user2.Name).Select("age").Row()
    
    	var age int64
    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      private final class AsMapOfRanges extends IteratorBasedAbstractMap<Range<K>, V> {
    
        final Iterable<Entry<Range<K>, V>> entryIterable;
    
        @SuppressWarnings("unchecked") // it's safe to upcast iterables
        AsMapOfRanges(Iterable<RangeMapEntry<K, V>> entryIterable) {
          this.entryIterable = (Iterable) entryIterable;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. docs/pt/docs/python-types.md

    Mas mesmo que você nunca use o **FastAPI**, você se beneficiaria de aprender um pouco sobre eles.
    
    /// note | Nota
    
    Se você é um especialista em Python e já sabe tudo sobre type hints, pule para o próximo capítulo.
    
    ///
    
    ## Motivação
    
    Vamos começar com um exemplo simples:
    
    ```Python
    {!../../docs_src/python_types/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                byte[] salt = new byte[32];
                config.getRandom().nextBytes(salt);
                negoContexts.add(new PreauthIntegrityNegotiateContext(config, new int[] {
                    PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512
                }, salt));
                this.preauthSalt = salt;
    
                if ( config.isEncryptionEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                    SmbConstants.FILE_NO_SHARE,
                    attrs,
                    0);
            }
            catch ( SmbAuthException sae ) {
                log.trace("copyTo0", sae);
                int dattrs = dest.getAttributes();
                if ( ( dattrs & SmbConstants.ATTR_READONLY ) != 0 ) {
                    /*
                     * Remove READONLY and try again
                     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  7. docs/distributed/README.md

    - **Each object is written to a single EC set, and therefore is spread over no more than 16 drives.**
    - **All the nodes running distributed MinIO setup are recommended to be homogeneous, i.e. same operating system, same number of drives and same network interconnects.**
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * @param collection a collection of {@code Number} instances
       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Longs.java

       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * @param collection a collection of {@code Number} instances
       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
          @SuppressWarnings("unchecked") // not really safe, but that's the point
          void throwIt(Throwable t) throws T {
            throw (T) t;
          }
        }
        new SneakyThrower<Error>().throwIt(t);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top