Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 831 for serons (0.03 sec)

  1. cmd/batch-expire.go

    func (r BatchJobExpire) Notify(ctx context.Context, body io.Reader) error {
    	if r.NotificationCfg.Endpoint == "" {
    		return nil
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, r.NotificationCfg.Endpoint, body)
    	if err != nil {
    		return err
    	}
    
    	if r.NotificationCfg.Token != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Second group should be AnotherTestGroup", AnotherTestGroup.class, multiAnnotation.groups()[1]);
    
            assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length);
            assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        protected int maxRedirectCount;
    
        /** Executor service for concurrent processing of file operations. */
        private final ExecutorService executor;
    
        /** Timeout in seconds for executor service termination during shutdown. */
        private int executorTerminationTimeout = 300;
    
        /**
         * Constructs a new FileListIndexUpdateCallbackImpl with the specified parameters.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request = new Smb2CreateRequest(mockConfig, "initial\\path.txt");
            assertEquals("\\initial\\path.txt", request.getPath());
    
            request.setPath("\\second\\path.txt");
            assertEquals("\\second\\path.txt", request.getPath());
    
            request.setPath("third\\path\\");
            assertEquals("\\third\\path", request.getPath());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException")
            void testBinaryConstructorInvalidCount() {
                // Arrange: second byte is sub_authority_count > 100
                byte[] bytes = new byte[1 + 1 + 6];
                bytes[0] = 1; // revision
                bytes[1] = (byte) 101; // invalid count
    
                // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. tests/lru_test.go

    		t.Errorf("Expected key1 to exist, but it was evicted")
    	}
    }
    
    func TestLRU_Add_Eviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Second*2)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    	time.Sleep(time.Second * 3)
    	if lru.Cap() != 0 {
    		t.Errorf("Expected lru to be empty, but it was not")
    	}
    
    }
    
    func BenchmarkLRU_Rand_NoExpire(b *testing.B) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SIDCacheImplTest.java

                names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_USER;
                names.names[0].name = new UnicodeString("alice", false);
                names.names[0].sid_index = 0;
                // Second is a domain group
                names.names[1] = new lsarpc.LsarTranslatedName();
                names.names[1].sid_type = (short) jcifs.SID.SID_TYPE_DOM_GRP;
                names.names[1].name = new UnicodeString("Domain Users", false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                notification.readBytesWireFormat(buffer1, 0);
    
                // Second read with different values
                byte[] fileId2 = new byte[16];
                Arrays.fill(fileId2, (byte) 0x99);
                byte[] buffer2 = createValidOplockBreakBuffer((byte) 0x08, fileId2);
                notification.readBytesWireFormat(buffer2, 0);
    
                // Verify second read overwrote first read values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                            // Ignore
                        }
                    }).start();
                }
    
                startLatch.countDown();
                assertTrue(endLatch.await(1, TimeUnit.SECONDS));
                assertTrue(response.isReceived());
            }
    
            @Test
            @DisplayName("Should handle concurrent error notifications")
            void testConcurrentError() throws InterruptedException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * {@code key} (or zero, if there is none) is passed as the first argument to {@code
       * accumulatorFunction}, and {@code x} is passed as the second argument.
       *
       * @since 21.0
       */
      @CanIgnoreReturnValue
      public long accumulateAndGet(K key, long x, LongBinaryOperator accumulatorFunction) {
        checkNotNull(accumulatorFunction);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top