Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 939 for sekond (0.05 sec)

  1. 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)
  2. 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)
  3. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withExpireAfterAccesses(
                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withRefreshes(
                ImmutableSet.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

                byte[] thirdEncoding = parsed2.toByteArray();
    
                assertArrayEquals(firstEncoding, secondEncoding, "First and second encoding should be identical");
                assertArrayEquals(secondEncoding, thirdEncoding, "Second and third encoding should be identical");
    
                // Verify content preservation
                assertArrayEquals(mechs, parsed2.getMechanisms());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

        public void close() throws Exception {
            if (executorService != null) {
                try {
                    executorService.shutdown();
                    executorService.awaitTermination(60, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Interrupted.", e);
                    }
                } finally {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                int ncpos = getHeaderStart() + negotiateContextOffset;
    
                // Validate that negotiate context data doesn't start beyond buffer
                if (ncpos < 0 || ncpos >= buffer.length) {
                    throw new SMBProtocolDecodingException(
                            "Negotiate context offset points beyond buffer (offset: " + ncpos + ", buffer size: " + buffer.length + ")");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-status-code.md

    * **`300 - 399`** are for "Redirection".  Responses with these status codes may or may not have a body, except for `304`, "Not Modified", which must not have one.
    * **`400 - 499`** are for "Client error" responses. These are the second type you would probably use the most.
        * An example is `404`, for a "Not Found" response.
        * For generic errors from the client, you can just use `400`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top