Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for bench (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

          if (unsafeImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      /*
      try {
        UnsignedBytesBenchmark bench = new UnsignedBytesBenchmark();
        bench.length = 1024;
        bench.setUp();
        bench.timeUnsafe(100000);
      } catch (Exception e) {
      }*/
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tests/benchmark_test.go

    package tests_test
    
    import (
    	"fmt"
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    func BenchmarkCreate(b *testing.B) {
    	user := *GetUser("bench", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. cmd/testdata/decryptObjectInfo.json.zst

    ide-Encryption-S3-Sealed-Key":"IAAfANxXTi8UmSdoDhuX/pGGAl5RdDZm8HAK5GEeq+apehA==","X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm":"DAREv2-HMAC-SHA256","content-type":"text/plain"}},{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/src/bench/x_test.go","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"CoIAXCPqarDRpdmC+++Mh4t3H+gjHa885h4ViCWlhjc=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"I...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 29 16:34:20 UTC 2020
    - 164K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    associates
    
    // athleta : The Gap, Inc.
    // https://www.iana.org/domains/root/db/athleta.html
    athleta
    
    // attorney : Dog Beach, LLC
    // https://www.iana.org/domains/root/db/attorney.html
    attorney
    
    // auction : Dog Beach, LLC
    // https://www.iana.org/domains/root/db/auction.html
    auction
    
    // audi : AUDI Aktiengesellschaft
    // https://www.iana.org/domains/root/db/audi.html
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ///
    
    ## Dataclasses in `response_model` { #dataclasses-in-response-model }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. .github/DISCUSSION_TEMPLATE/questions.yml

            I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
    
            All that, on top of all the incredible help provided by a bunch of community members, the [FastAPI Experts](https://fastapi.tiangolo.com/fastapi-people/#experts), that give a lot of their time to come here and help others.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                Long.MAX_VALUE,
                SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
        executorService.prestartAllCoreThreads();
        AtomicInteger integer = new AtomicInteger();
        // Execute a bunch of tasks to ensure that our threads are allocated and hot
        for (int i = 0; i < NUM_THREADS * 10; i++) {
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basher test for {@link ConcurrentHashMultiset}: start a bunch of threads, have each of them do
     * operations at random. Each thread keeps track of the per-key deltas that it's directly
     * responsible for; after all threads have completed, we sum the per-key deltas and compare to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbException.java

     */
    
    public class SmbException extends CIFSException implements NtStatus, DosError, WinError {
    
        /**
         *
         */
        private static final long serialVersionUID = 484863569441792249L;
    
        // to replace a bunch of one-off binary searches
        private static final Map<Integer, String> errorCodeMessages;
        private static final Map<Integer, String> winErrorCodeMessages;
        private static final Map<Integer, Integer> dosErrorCodeStatuses;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. cmd/metacache-walk.go

    			}
    			diskHealthCheckOK(ctx, err)
    			return err
    		}
    		diskHealthCheckOK(ctx, err)
    		if len(entries) == 0 {
    			return nil
    		}
    		dirObjects := make(map[string]struct{})
    
    		// Avoid a bunch of cleanup when joining.
    		current = strings.Trim(current, SlashSeparator)
    		for i, entry := range entries {
    			if contextCanceled(ctx) {
    				return ctx.Err()
    			}
    			if opts.Limit > 0 && objsReturned >= opts.Limit {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top