Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for insertID (0.16 sec)

  1. callbacks/create.go

    		if db.RowsAffected == 0 {
    			return
    		}
    
    		var (
    			pkField     *schema.Field
    			pkFieldName = "@id"
    		)
    
    		insertID, err := result.LastInsertId()
    		insertOk := err == nil && insertID > 0
    
    		if !insertOk {
    			if !supportReturning {
    				db.AddError(err)
    			}
    			return
    		}
    
    		if db.Statement.Schema != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * the queue the shortest time. New elements are inserted at the tail of the queue, and the queue
     * retrieval operations obtain elements at the head of the queue.
     *
     * <p>This is a classic &quot;bounded buffer&quot;, in which a fixed-sized array holds elements
     * inserted by producers and extracted by consumers. Once created, the capacity cannot be increased.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          }
        }
    
        // Insert in chronological order. Always compare deltas because nanoTime() is permitted to wrap.
        var insertAt = futureTasks.indexOfFirst { it.nextExecuteNanoTime - now > delayNanos }
        if (insertAt == -1) insertAt = futureTasks.size
        futureTasks.add(insertAt, task)
    
        // Impact the coordinator if we inserted at the front.
        return insertAt == 0
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/benchmark-utils_test.go

    	// create bucket.
    	err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	objSize := 128 * humanize.MiByte
    
    	// PutObjectPart returns etag of the object inserted.
    	// etag variable is assigned with that value.
    	var etag string
    	// get text data generated for number of bytes equal to object size.
    	textData := generateBytesData(objSize)
    	// generate md5sum for the generated data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       */
      public MonitorBasedPriorityBlockingQueue(Collection<? extends E> c) {
        q = new PriorityQueue<E>(c);
      }
    
      /**
       * Inserts the specified element into this priority queue.
       *
       * @param e the element to add
       * @return {@code true} (as specified by {@link Collection#add})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            BloomFilter.create(Funnels.integerFunnel(), 15_000_000, 0.01);
    
        // This check has to be BEFORE the loop because the random insertions can
        // flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted
        // (false positive).
        assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse();
        for (int i = 0; i < NUM_PUTS; i++) {
          bloomFilter.put(getNonGoldenRandomKey());
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. finisher_api.go

    	"gorm.io/gorm/utils"
    )
    
    // Create inserts value, returning the inserted data's primary key in value's id
    func (db *DB) Create(value interface{}) (tx *DB) {
    	if db.CreateBatchSize > 0 {
    		return db.CreateInBatches(value, db.CreateBatchSize)
    	}
    
    	tx = db.getInstance()
    	tx.Statement.Dest = value
    	return tx.callbacks.Create().Execute(tx)
    }
    
    // CreateInBatches inserts value in batches of batchSize
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            urlQueue.setLastModified(0L);
            urlQueue.setDepth(0);
            urlQueue.setMethod(Constants.GET_METHOD);
            insert(urlQueue);
        }
    
        @Override
        public void insert(final OpenSearchUrlQueue urlQueue) {
            try {
                super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX);
            } catch (final OpenSearchAccessException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            while (enclosingElement instanceof TypeElement) {
                className.insert(0, "$").insert(0, ((TypeElement) enclosingElement).getSimpleName());
                enclosingElement = enclosingElement.getEnclosingElement();
            }
    
            if (enclosingElement instanceof PackageElement) {
                className.insert(0, ".").insert(0, ((PackageElement) enclosingElement).getQualifiedName());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueueService.insert(urlQueue);
    
            final OpenSearchUrlQueue urlQueue2 = new OpenSearchUrlQueue();
            urlQueue2.setCreateTime(System.currentTimeMillis());
            urlQueue2.setDepth(1);
            urlQueue2.setMethod("GET");
            urlQueue2.setSessionId("id2");
            urlQueue2.setUrl("http://www.id2.com/");
    
            urlQueueService.insert(urlQueue2);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top