Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 763 for secondi (0.04 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
                cal.set(Calendar.MILLISECOND, 0);
    
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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. 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)
  10. docs/en/docs/tutorial/middleware.md

    And also after the `response` is generated, before returning it.
    
    For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response:
    
    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top