Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 237 for 1014 (0.01 sec)

  1. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        };
      }
    
      public enum Value {
        INSTANCE;
      }
    
      public enum ListSizeDistribution {
        UNIFORM_0_TO_2(0, 2),
        UNIFORM_0_TO_9(0, 9),
        ALWAYS_0(0, 0),
        ALWAYS_10(10, 10);
    
        final int min;
        final int max;
    
        ListSizeDistribution(int min, int max) {
          this.min = min;
          this.max = max;
        }
    
        public int chooseSize(Random random) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. cmd/last-minute.go

    	sizeLessThan100MiB
    	sizeLessThan1GiB
    	sizeGreaterThan1GiB
    	// Add new entries here
    
    	sizeLastElemMarker
    )
    
    // sizeToTag converts a size to a tag.
    func sizeToTag(size int64) int {
    	switch {
    	case size < 1024:
    		return sizeLessThan1KiB
    	case size < 1024*1024:
    		return sizeLessThan1MiB
    	case size < 10*1024*1024:
    		return sizeLessThan10MiB
    	case size < 100*1024*1024:
    		return sizeLessThan100MiB
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         * <li><code>[1.0,2.0]</code> Versions 1.0 to 2.0 (both included)</li>
         * <li><code>[1.5,)</code> Versions 1.5 and higher</li>
         * <li><code>(,1.0],[1.2,)</code> Versions up to 1.0 (included) and 1.2 or higher</li>
         * </ul>
         *
         * @param spec string representation of a version or version range
         * @return a new {@link VersionRange} object that represents the spec
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Should read multiple notifications from wire format")
        void testReadMultipleNotifications() throws Exception {
            // Given
            byte[] buffer = new byte[1024];
            int offset = 0;
    
            // Set header start position
            setHeaderStart(response, 64);
    
            // Write structure header
            SMBUtil.writeInt2(9, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/advance.jsp

    					<la:select property="num" styleId="numSearchOption" styleClass="form-control">
    						<option value="">
    							<la:message key="labels.search_result_select_num" />
    						</option>
    						<la:option value="10">10</la:option>
    						<la:option value="20">20</la:option>
    						<la:option value="30">30</la:option>
    						<la:option value="40">40</la:option>
    						<la:option value="50">50</la:option>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 12:09:07 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        void testBufferAlignment() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            byte[] buffer = new byte[1024];
    
            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
            // Then - Total bytes written should be 8-byte aligned
            assertEquals(0, bytesWritten % 8);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        @Test
        void testVersionComparing() {
            checkVersionsOrder("1", "2");
            checkVersionsOrder("1.5", "2");
            checkVersionsOrder("1", "2.5");
            checkVersionsOrder("1.0", "1.1");
            checkVersionsOrder("1.1", "1.2");
            checkVersionsOrder("1.0.0", "1.1");
            checkVersionsOrder("1.0.1", "1.1");
            checkVersionsOrder("1.1", "1.2.0");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                DfsReferralDataInternal combined = first.combine(second);
    
                assertNotNull(combined);
                assertEquals(10 + 15, combined.getPathConsumed());
            }
        }
    
        @Nested
        @DisplayName("ToString Tests")
        class ToStringTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

        if (-2 <= b && b <= 2) {
          switch ((int) b) {
            case 0:
              return (k == 0) ? 1 : 0;
            case 1:
              return 1;
            case -1:
              return ((k & 1) == 0) ? 1 : -1;
            case 2:
              return (k < Long.SIZE) ? 1L << k : 0;
            case -2:
              if (k < Long.SIZE) {
                return ((k & 1) == 0) ? 1L << k : -(1L << k);
              } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("initSecContext returns token and verifies interaction")
        void initSecContext_success() throws Exception {
            byte[] in = new byte[] { 10, 11 };
            byte[] out = new byte[] { 12, 13, 14 };
            when(gssContext.initSecContext(eq(in), eq(0), eq(in.length))).thenReturn(out);
    
            byte[] res = ctx.initSecContext(in, 0, in.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top