Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,434 for updateFn (0.05 seconds)

  1. cmd/bucket-replication.go

    				ri.OpType == replication.ExistingObjectReplicationType {
    				// if metadata is not updated for some reason after replication, such as
    				// 503 encountered while updating metadata - make sure to set ReplicationStatus
    				// as Completed.
    				//
    				// Note: Replication Stats would have been updated despite metadata update failure.
    				rinfo.ReplicationAction = rAction
    				rinfo.ReplicationStatus = replication.Completed
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                assertEquals(5, initialThreshold, "Initial threshold should be 5");
    
                // Update threshold
                dynamicCircuitBreaker.updateFailureThreshold(7);
                assertEquals(7, dynamicCircuitBreaker.getCurrentFailureThreshold(), "Threshold should be updated");
    
                // Test that invalid threshold is ignored
                dynamicCircuitBreaker.updateFailureThreshold(-1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

                totalBytesWritten += byteCount
                progressListener.update(totalBytesWritten, contentLength(), completed)
              }
    
              override fun close() {
                super.close()
                if (!completed) {
                  completed = true
                  progressListener.update(totalBytesWritten, contentLength(), completed)
                }
              }
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

        /**
         * Appends a key-value pair to the buffer in JSON format.
         *
         * @param buf the string buffer to append to
         * @param key the key name
         * @param supplier the value supplier
         * @return the updated buffer
         */
        protected StringBuilder append(final StringBuilder buf, final String key, final Supplier<Object> supplier) {
            final StringBuilder tempBuf = new StringBuilder();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            // Verify that createNextIndex completed without exceptions
            // The update alias should now point to the new index
            final String updateAlias = suggester.getIndex() + ".update";
            aliasResponse = client.admin().indices().prepareGetAliases(updateAlias).execute().actionGet();
            assertNotNull("Update alias should exist after createNextIndex", aliasResponse.getAliases());
    
            // Switch to new index
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertEquals(4, SMBUtil.readInt2(buffer, 2));
                assertEquals(24 + (24 * 4), bytesWritten);
            }
    
            @Test
            @DisplayName("Should handle file ID updates")
            void testFileIdUpdates() {
                // Initial file ID
                byte[] initialFileId = new byte[16];
                Arrays.fill(initialFileId, (byte) 0x11);
                request.setFileId(initialFileId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            verify(mockClient, times(2)).prepareSearch(any(String[].class));
            verify(mockBuilder, times(2)).setPreference("_local");
        }
    
        /**
         * Test: filterWithHeader properly updates the internal client
         * Verifies that the returned client is properly stored
         */
        @Test
        public void testFilterWithHeaderUpdatesClient() {
            final Client mockNewClient = mock(Client.class);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  8. clause/locking_test.go

    			"SELECT * FROM `users` FOR UPDATE NOWAIT", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate, Options: clause.LockingOptionsSkipLocked}},
    			"SELECT * FROM `users` FOR UPDATE SKIP LOCKED", nil,
    		},
    	}
    
    	for idx, result := range results {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  9. cmd/config-current.go

    		} else {
    			globalHealConfig.Update(healCfg)
    		}
    	case config.BatchSubSys:
    		batchCfg, err := batch.LookupConfig(s[config.BatchSubSys][config.Default])
    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply batch config: %w", err))
    		} else {
    			globalBatchConfig.Update(batchCfg)
    		}
    	case config.ScannerSubSys:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test partial update")
        void testPartialUpdate() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Update with partial data
            digest.update(data, 2, 4); // Only update with bytes at index 2-5
            byte[] result = digest.digest();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top