Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,287 for Update (0.04 sec)

  1. tests/gorm_test.go

    		} else if got.ID != u1.ID {
    			t.Fatalf("select expects: %v, got %v", u1, got)
    		}
    
    		u1.Name = "jinzhu"
    		if results := DB.Save(&u1); results.Error != nil {
    			t.Fatalf("errors happened on update: %v", results.Error)
    		} else if results.RowsAffected != 1 {
    			t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    		}
    
    		u1 = user{} // important to reinitialize this before creating it again
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/packaging/common/scripts/postrm

        fi
    
        if command -v chkconfig >/dev/null; then
            chkconfig --del fess 2> /dev/null || true
        fi
    
        if command -v update-rc.d >/dev/null; then
            update-rc.d fess remove >/dev/null || true
        fi
    fi
    
    if [ "$REMOVE_DIRS" = "true" ]; then
        if [ -d "$PID_DIR" ]; then
            echo -n "Deleting PID directory..."
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo("");
      }
    
      public void testComputeIfPresent() {
        cache.put(key, "1");
        // simultaneous update for same key, expect count successful updates
        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().computeIfPresent(key, (k, v) -> v + delimiter + n);
            });
        assertEquals(1, cache.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

                final int pageSize = kuromojiPager.getPageSize();
                final PagingList<KuromojiItem> kuromojiList = file.selectList((kuromojiPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
                // update pager
                BeanUtil.copyBeanToBean(kuromojiList, kuromojiPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
                kuromojiList.setPageRangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            String childName = "file1.txt";
    
            // Initial update - should mark as changed
            entry.updateChild(childName, 1024L, 1000L, false, 0x20, 500L, 800L);
            assertTrue(entry.hasChanges());
    
            // Clear changes to test next scenario
            entry.markComplete();
            assertFalse(entry.hasChanges());
    
            // Update with same values - should not mark as changed (no actual change)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsScheduledJobBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsert(entity, null);
        }
    
        public void update(ScheduledJob entity) {
            doUpdate(entity, null);
        }
    
        public void update(ScheduledJob entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java

            // Default constructor
        }
    
        /**
         * The interval for reloading.
         */
        protected long reloadInterval = 1000L;
    
        /**
         * Update the configuration.
         */
        public void update() {
            CommonPoolUtil.execute(this::load);
        }
    
        /**
         * Wait for the next reloading.
         */
        protected void waitForNext() {
            if (reloadInterval > 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MD4.java

            final int i = (int) (count % BLOCK_LENGTH);
            count++; // update number of bytes
            buffer[i] = b;
            if (i == BLOCK_LENGTH - 1) {
                transform(buffer, 0);
            }
        }
    
        /**
         * MD4 block update operation.
         * <p>
         * Continues an MD4 message digest operation, by filling the buffer,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                        final MD4 md4 = new MD4();
                        md4.update(responseKeyNT);
                        final byte[] userSessionKey = md4.digest();
    
                        final HMACT64 hmac = new HMACT64(userSessionKey);
                        hmac.update(sessionNonce);
                        final byte[] ntlm2SessionKey = hmac.digest();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  10. cmd/background-newdisks-heal-ops.go

    	case skipped:
    		h.ItemsSkipped++
    		h.BytesSkipped += bytes
    	default:
    		h.ItemsFailed++
    		h.BytesFailed += bytes
    	}
    }
    
    // update will update the tracker on the disk.
    // If the tracker has been deleted an error is returned.
    func (h *healingTracker) update(ctx context.Context) error {
    	h.mu.Lock()
    	if h.ID == "" || h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 {
    		h.ID, _ = h.disk.GetDiskID()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top