Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5101 - 5110 of 5,298 for recur2 (0.05 sec)

  1. cmd/object-api-utils_test.go

    	if len(elem) > 0 {
    		if hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar) {
    			trailingSlash = SlashSeparator
    		}
    	}
    	return path.Join(elem...) + trailingSlash
    }
    
    func concatNaive(ss ...string) string {
    	rs := ss[0]
    	for i := 1; i < len(ss); i++ {
    		rs += ss[i]
    	}
    	return rs
    }
    
    func benchmark(b *testing.B, data []string) {
    	b.Run("concat naive", func(b *testing.B) {
    		b.ResetTimer()
    		b.ReportAllocs()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

      fun encodedLength(bytes: ByteString): Int {
        var bitCount = 0L
    
        for (i in 0 until bytes.size) {
          val byteIn = bytes[i] and 0xff
          bitCount += CODE_BIT_COUNTS[byteIn].toLong()
        }
    
        return ((bitCount + 7) shr 3).toInt() // Round up to an even byte.
      }
    
      fun decode(
        source: BufferedSource,
        byteCount: Long,
        sink: BufferedSink,
      ) {
        var node = root
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        @ValueSource(ints = { 1, 10, 100, 500, 1024 })
        void testReadDataWireFormatWithVariousSizes(int dataSize) throws SMBProtocolDecodingException {
            if (dataSize > outputBuffer.length) {
                return; // Skip sizes larger than buffer
            }
    
            byte[] sourceData = new byte[dataSize];
            for (int i = 0; i < dataSize; i++) {
                sourceData[i] = (byte) (i % 256);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

        }
    
        @Test
        public void testCanCacheDirectoryListing() {
            String directoryPath = "/test/dir";
            Smb2LeaseKey leaseKey = new Smb2LeaseKey();
    
            // No cache entry - should return false
            assertFalse(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
    
            // Create cache entry with read lease
            when(baseLeaseManager.requestLease(anyString(), anyInt())).thenReturn(leaseKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/main/config/openapi/openapi-user.yaml

          summary: List popular words
          description: Returns available labels
          operationId: listPopularWords
          parameters:
            - name: seed
              in: query
              description: Random seed to return popular words
              required: false
              schema:
                type: string
                example: 123
            - name: label
              in: query
              description: Filtered label name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Act
                int size = context.size();
    
                // Assert
                assertEquals(expectedSize, size);
            }
    
            static Stream<Arguments> provideCipherArrays() {
                return Stream.of(Arguments.of(null, 4), // size() returns 4 even with null
                        Arguments.of(new int[0], 4), // size() returns 4 for empty array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. README.md

        public ExtractData getText(final InputStream inputStream, final Map<String, String> params) {
            // Custom extraction logic
            ExtractData extractData = new ExtractData();
            // ... implementation
            return extractData;
        }
    }
    
    // Register custom extractor
    container.singleton("customExtractor", CustomExtractor.class);
    container.singleton("extractorFactory", ExtractorFactory.class, factory -> {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        for (Class<?> mutableClass : mutableClasses) {
          Object instance = ArbitraryInstances.get(mutableClass);
          assertNotNull("Expected to return non-null for: " + mutableClass, instance);
          assertNotSame(
              "Expected to return fresh instance for: " + mutableClass,
              instance,
              ArbitraryInstances.get(mutableClass));
        }
      }
    
      private enum EmptyEnum {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/settings.md

    ```Python
    Settings()
    ```
    
    um novo objeto `Settings` é instanciado, e durante a instanciação, o arquivo `.env` é lido novamente.
    
    Se a função da dependência fosse apenas:
    
    ```Python
    def get_settings():
        return Settings()
    ```
    
    Iriamos criar um novo objeto a cada requisição, e estaríamos lendo o arquivo `.env` a cada requisição. ⚠️
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            long startTime = System.nanoTime();
            for (int i = 0; i < iterations; i++) {
                auth1.equals(auth2);
            }
            long endTime = System.nanoTime();
    
            return (endTime - startTime) / iterations;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top