Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,181 for first (0.02 sec)

  1. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                            .joinToString(",") { "%dep.${it.id}.env.BUILD_ID%" }
    
                    val dependencyBaselines =
                        performanceTestProject.performanceTests
                            .first {
                                it.testProjects.isNotEmpty()
                            }.let { "%dep.${it.id}.performance.baselines%" }
    
                    gradleRunnerStep(
                        model,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
            // rhs (null) comes just before justAfterNull.
            // If lhs is b, rhs comes first.
            if (lhs.equals(justAfterNull)) {
              return 1;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. cmd/erasure.go

    // Get an aggregated storage info across all disks.
    func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo {
    	disksInfo := getDisksInfo(disks, endpoints, metrics)
    
    	// Sort so that the first element is the smallest.
    	sort.Slice(disksInfo, func(i, j int) bool {
    		return disksInfo[i].TotalSpace < disksInfo[j].TotalSpace
    	})
    
    	storageInfo := StorageInfo{
    		Disks: disksInfo,
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
       * A plan holds either an immediately-usable connection, or one that must be connected first.
       * These steps are split so callers can call [connectTcp] on a background thread if attempting
       * multiple plans concurrently.
       */
      interface Plan {
        val isReady: Boolean
    
        fun connectTcp(): ConnectResult
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(0x01, dst[0], "Data block type");
            assertEquals(3, dst[1] & 0xFF, "Data length low byte");
            assertEquals(0, dst[2] & 0xFF, "Data length high byte");
            assertEquals(2, dst[3], "First data byte");
            assertEquals(3, dst[4], "Second data byte");
            assertEquals(4, dst[5], "Third data byte");
        }
    
        /**
         * Test readParameterWordsWireFormat always returns 0
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

                smbtStatic.close();
            }
        }
    
        @Test
        void transportLazyInitialisation() {
            SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
            // transport should still be null until first use
            assertNull(session.transport, "transport not created yet");
            SmbTransport tr = session.transport();
            assertNotNull(tr, "transport should now exist");
            // subsequent calls return the same instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model { #create-a-user-model }
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        @Test
        @DisplayName("readn should handle multiple read calls")
        void testReadnMultipleCalls() throws IOException {
            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(2) // First read returns 2 bytes
                    .thenReturn(2) // Second read returns 2 bytes
                    .thenReturn(1); // Third read returns 1 byte
    
            byte[] buffer = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        public @Nullable Comparator<? super V> comparator() {
          return getSortedSetDelegate().comparator();
        }
    
        @Override
        @ParametricNullness
        public V first() {
          refreshIfEmpty();
          return getSortedSetDelegate().first();
        }
    
        @Override
        @ParametricNullness
        public V last() {
          refreshIfEmpty();
          return getSortedSetDelegate().last();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/BufferCache.java

         *
         * @return a byte buffer for SMB operations
         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top