Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 476 for swapped (0.11 seconds)

  1. build-tools-internal/src/main/resources/checkstyle.xml

        <property name="fileExtensions" value="java" />
        <property name="message" value="Empty javadoc comments are forbidden" />
      </module>
    
      <!--
        We include snippets that are wrapped in `// tag` and `// end` into the
        docs, stripping the leading spaces. If the context is wider than 76
        characters then it'll need to scroll. This fails the build if it sees
        such snippets.
      -->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/dcerpc/UUID.java

        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
         * @param uuid the wrapped uuid object to copy values from
         */
        public UUID(final rpc.uuid_t uuid) {
            time_low = uuid.time_low;
            time_mid = uuid.time_mid;
            time_hi_and_version = uuid.time_hi_and_version;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // Then
            assertEquals(1000, delay1);
            assertEquals(2000, delay2);
            assertEquals(4000, delay3);
            assertEquals(5000, delay4); // Capped at max
            assertEquals(5000, delay10); // Still capped
        }
    
        @Test
        @DisplayName("Should handle non-exponential backoff")
        void testConstantBackoff() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  4. internal/bpool/bpool_test.go

    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    	if cap(b) != capWidth {
    		t.Fatalf("bytepool cap invalid: got %v want %v", cap(b), capWidth)
    	}
    
    	bp.Put(b)
    
    	// Fill the pool beyond the capped pool size.
    	for i := uint64(0); i < size*2; i++ {
    		bp.Put(make([]byte, bp.w, bp.wcap))
    	}
    
    	b = bp.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

          if (!skipCommasAndWhitespace() && !exhausted()) return // Expected ',' or EOF.
        }
        result.add(Challenge(schemeName, parameters))
      }
    }
    
    /** Returns true if any commas were skipped. */
    private fun Buffer.skipCommasAndWhitespace(): Boolean {
      var commaFound = false
      loop@ while (!exhausted()) {
        when (this[0]) {
          ','.code.toByte() -> {
            // Consume ','.
            readByte()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/witness/MockWitnessService.java

                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            }
    
            registrations.clear();
            log.info("Mock witness service stopped");
        }
    
        /**
         * Get the address the service is listening on
         *
         * @return the service address
         * @throws IOException if address cannot be determined
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        void iterationSkipsDotAndDotDot() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("a");
            // Include entries that should be skipped by internal filter
            FileEntry[] page1 = new FileEntry[] { entry("."), entry(".."), entry("b") };
            TestIterator it = TestIterator.create(tree, parent, "*", null, 0, initial, List.of(new FileEntry[][] { page1 }));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@linkplain WeakReference weak} references
     *   <li>values automatically wrapped in {@linkplain WeakReference weak} or {@linkplain
     *       SoftReference soft} references
     *   <li>notification of evicted (or otherwise removed) entries
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                    getKeyForNullValue(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was mapped to null");
                    }));
        expectReplacement(entry(getKeyForNullValue(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testMergeAbsentNullKey() {
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

         */
        protected final SmbAuthException getRequestingException() {
            return sae;
        }
    
        /**
         * Used internally by jCIFS when an <code>SmbAuthException</code> is trapped to retrieve new user credentials.
         * @param url the URL that requires authentication
         * @param sae the authentication exception that was thrown
         * @return credentials returned by prompt or null if none available
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top