Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for INSERT (0.04 sec)

  1. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

         */
        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)));
        }
    
        /**
         * Changes the password for a user across all authentication chains.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertNotNull(manager);
        }
    
        // Test insert with no chains
        public void test_insert_noChains() {
            User user = createTestUser("testuser");
            authenticationManager.insert(user);
            // Should not throw exception even with no chains
        }
    
        // Test insert with single chain
        public void test_insert_singleChain() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. cmd/benchmark-utils_test.go

    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    
    	for i := 0; b.Loop(); i++ {
    		// insert the object.
    		objInfo, err := obj.PutObject(b.Context(), bucket, "object"+strconv.Itoa(i),
    			mustGetPutObjReader(b, bytes.NewReader(textData), int64(len(textData)), md5hex, sha256hex), ObjectOptions{})
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

        }
    
        /**
         * Stores a protected words item (insert or update).
         * @param dictId the dictionary ID
         * @param protwordsItem the item to store
         */
        public void store(final String dictId, final ProtwordsItem protwordsItem) {
            getProtwordsFile(dictId).ifPresent(file -> {
                if (protwordsItem.getId() == 0) {
                    file.insert(protwordsItem);
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

        /**
         * Default constructor.
         */
        public LdapChain() {
            // do nothing
        }
    
        @Override
        public void update(final User user) {
            ComponentUtil.getLdapManager().insert(user);
        }
    
        @Override
        public void delete(final User user) {
            ComponentUtil.getLdapManager().delete(user);
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K 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;
            }
    
            final Supplier<Hashtable<String, String>> adminEnv = this::createAdminEnv;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

        }
    
        /**
         * Stores (creates or updates) a stemmer override item in the specified dictionary.
         *
         * If the item ID is 0, this method performs an insert operation. Otherwise,
         * it performs an update operation for the existing item.
         *
         * @param dictId The ID of the stemmer override dictionary
         * @param stemmerOvberrideItem The stemmer override item to store
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

            return getCharMappingFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a character mapping item in the specified dictionary.
         * <p>
         * This method performs either an insert operation (for new items with ID 0)
         * or an update operation (for existing items with non-zero ID) depending on
         * the item's current state.
         * </p>
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
            public void putCoalescing(Range<Comparable<?>> range, Object value) {
              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<String> bf =
            BloomFilter.create(
                Funnels.unencodedCharsFunnel(),
                numInsertions,
                0.03,
                BloomFilterStrategies.MURMUR128_MITZ_32);
    
        // Insert "numInsertions" even numbers into the BF.
        for (int i = 0; i < numInsertions * 2; i += 2) {
          bf.put(Integer.toString(i));
        }
        assertApproximateElementCountGuess(bf, numInsertions);
    
    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