Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 803 for wazero (0.2 sec)

  1. tests/update_test.go

    	}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	} else if user.ID == 0 {
    		t.Fatalf("user's primary value should not zero, %v", user.ID)
    	} else if user.UpdatedAt.IsZero() {
    		t.Fatalf("user's updated at should not zero, %v", user.UpdatedAt)
    	}
    	lastUpdatedAt = user.UpdatedAt
    
    	if err := DB.Model(user).Update("Age", 10).Error; err != nil {
    		t.Errorf("errors happened when update: %v", err)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -		  ? ({ void *__s = (s); __bzero (__s, n); __s; })	      \
    -		  : memset (s, c, n)))
    -#  endif
    -# endif
    -
    -/* GCC < 3.0 optimizes memset(s, 0, n) but not bzero(s, n).
    -   The optimization is broken before EGCS 1.1.
    -   GCC 3.0+ has __builtin_bzero as well, but at least till GCC 3.4
    -   if it decides to call the library function, it calls memset
    -   and not bzero.  */
    -# if __GNUC_PREREQ (2, 91)
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  3. src/archive/zip/reader.go

    	f.Modified = msdosModified
    	if !modified.IsZero() {
    		f.Modified = modified.UTC()
    
    		// If legacy MS-DOS timestamps are set, we can use the delta between
    		// the legacy and extended versions to estimate timezone offset.
    		//
    		// A non-UTC timezone is always used (even if offset is zero).
    		// Thus, FileHeader.Modified.Location() == time.UTC is useful for
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. cmd/erasure.go

    				// Calc usage
    				before := cache.Info.LastUpdate
    				var err error
    				cache, err = disk.NSScanner(ctx, cache, updates, healScanMode, nil)
    				if err != nil {
    					if !cache.Info.LastUpdate.IsZero() && cache.Info.LastUpdate.After(before) {
    						scannerLogIf(ctx, cache.save(ctx, er, cacheName))
    					} else {
    						scannerLogIf(ctx, err)
    					}
    					// This ensures that we don't close
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  5. tests/create_test.go

    	}
    
    	if user.ID == 0 {
    		t.Errorf("user's primary key should has value after create, got : %v", user.ID)
    	}
    
    	if user.CreatedAt.IsZero() {
    		t.Errorf("user's created at should be not zero")
    	}
    
    	if user.UpdatedAt.IsZero() {
    		t.Errorf("user's updated at should be not zero")
    	}
    
    	var newUser User
    	if err := DB.Where("id = ?", user.ID).First(&newUser).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      // retainAll(empty)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmpty() {
        expectReturnsFalse(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
        expectReturnsFalseOrThrows(empty);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. docs/pt/docs/async.md

    Para o `await` funcionar, tem que estar dentro de uma função que suporte essa assincronicidade. Para fazer isso, apenas declare a função com `async def`:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Fazer alguma coisa assíncrona para criar os hambúrgueres
        return burgers
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  8. docs/pt/docs/benchmarks.md

        * Se você quer fazer comparações com o Uvicorn, compare com Daphne, Hypercorn, uWSGI, etc. Servidores de Aplicação.
    * **Starlette**:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Suppliers.java

          Supplier<T> delegate, Duration duration) {
        checkNotNull(delegate);
        // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble.
        checkArgument(
            !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration);
        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
      }
    
      @VisibleForTesting
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. internal/auth/credentials.go

    		s.WriteString(cred.SessionToken)
    	}
    	if !cred.Expiration.IsZero() && !cred.Expiration.Equal(timeSentinel) {
    		s.WriteString("\n")
    		s.WriteString(cred.Expiration.String())
    	}
    	return s.String()
    }
    
    // IsExpired - returns whether Credential is expired or not.
    func (cred Credentials) IsExpired() bool {
    	if cred.Expiration.IsZero() || cred.Expiration.Equal(timeSentinel) {
    		return false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top