Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for insertID (0.06 sec)

  1. callbacks/create.go

    				return
    			}
    			pkField = db.Statement.Schema.PrioritizedPrimaryField
    			pkFieldName = db.Statement.Schema.PrioritizedPrimaryField.DBName
    		}
    
    		insertID, err := result.LastInsertId()
    		insertOk := err == nil && insertID > 0
    
    		if !insertOk {
    			if !supportReturning {
    				db.AddError(err)
    			}
    			return
    		}
    
    		// append @id column with value for auto-increment primary key
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

         * Default constructor for AuthenticationManager.
         */
        public AuthenticationManager() {
            // Default constructor
        }
    
        /**
         * Inserts a new user across all authentication chains.
         * @param user The user to insert.
         */
        public void insert(final User user) {
            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. cmd/benchmark-utils_test.go

    	// create bucket.
    	err = obj.MakeBucket(b.Context(), 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                        }
                    });
    
        }
    
        /**
         * Inserts or updates a user in LDAP directory.
         *
         * @param user the user object to insert or update
         */
        public void insert(final User user) {
            if (!fessConfig.isLdapAdminEnabled(user.getName())) {
                return;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  7. internal/lru/lru.go

    	if l.root.next == nil {
    		l.Init()
    	}
    }
    
    // insert inserts e after at, increments l.len, and returns e.
    func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] {
    	e.prev = at
    	e.next = at.next
    	e.prev.next = e
    	e.next.prev = e
    	e.list = l
    	l.len++
    	return e
    }
    
    // insertValue is a convenience wrapper for insert(&Entry{Value: v, ExpiresAt: ExpiresAt}, at).
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        /**
         * Inserts a new character mapping item into the dictionary file.
         *
         * @param item the character mapping item to insert
         */
        @Override
        public synchronized void insert(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top