Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 104 for expectedSize (0.19 seconds)

  1. guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      @DoNotCall("Use naturalOrder (which does not accept an expected size)")
      @Deprecated
      public static <K, V> ImmutableSortedMap.Builder<K, V> builderWithExpectedSize(int expectedSize) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            void testSizeWithVariousCombinations(int algoCount, int saltSize, int expectedSize) {
                int[] hashAlgos = algoCount > 0 ? new int[algoCount] : null;
                byte[] salt = saltSize > 0 ? new byte[saltSize] : null;
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                assertEquals(expectedSize, context.size());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 34K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      @DoNotCall("Use naturalOrder (which does not accept an expected size)")
      @Deprecated
      public static <K, V> ImmutableSortedMap.Builder<K, V> builderWithExpectedSize(int expectedSize) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(400L, SMBUtil.readInt8(buffer, EXPECTED_SIZE));
                assertEquals(500L, SMBUtil.readInt8(buffer, EXPECTED_SIZE + 8));
                assertEquals(600, SMBUtil.readInt4(buffer, EXPECTED_SIZE + 16));
    
                // Verify third chunk
                assertEquals(700L, SMBUtil.readInt8(buffer, EXPECTED_SIZE * 2));
                assertEquals(800L, SMBUtil.readInt8(buffer, EXPECTED_SIZE * 2 + 8));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. cmd/erasure-healing-common_test.go

    		modTimesThreeNone[i] = threeNanoSecs
    	}
    
    	testCases := []struct {
    		modTimes       []time.Time
    		expectedTime   time.Time
    		errs           []error
    		_tamperBackend tamperKind
    	}{
    		{
    			modTimes:     modTimesThreeFour,
    			expectedTime: threeNanoSecs,
    			errs: []error{
    				nil, nil, nil, nil, nil, nil, nil, nil,
    				nil, nil, nil, nil, nil, nil, nil, nil,
    			},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

                            actualLines = Files.readAllLines(noticePath);
                            for (final String expectedLine : expectedLines) {
                                if (actualLines.contains(expectedLine) == false) {
                                    throw new GradleException("expected [" + noticePath + " to contain [" + expectedLine + "] but it did not");
                                }
                            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  7. internal/amztime/parse_test.go

    			gott, goterr := Parse(testCase.timeStr)
    			if !errors.Is(goterr, testCase.expectedErr) {
    				t.Errorf("expected %v, got %v", testCase.expectedErr, goterr)
    			}
    			if !gott.Equal(testCase.expectedTime) {
    				t.Errorf("expected %v, got %v", testCase.expectedTime, gott)
    			}
    		})
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // This is the expected behavior for Windows FILETIME
            long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time
            assertEquals(expectedTime, decoded.getCreateTime());
            assertEquals(expectedTime, decoded.getLastAccessTime());
            assertEquals(expectedTime, decoded.getLastWriteTime());
            assertEquals(0, decoded.getAttributes());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

                @Override
                public long getCurrentTimeAsLong() {
                    // Return consistent time for testing
                    if (expectedTime[0] == 0) {
                        expectedTime[0] = System.currentTimeMillis();
                    }
                    return expectedTime[0];
                }
            };
    
            FessConfig fessConfig = new TestFessConfig() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 32.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileTest.java

            }
    
            @Test
            void testLastModified() throws SmbException {
                // Arrange
                long expectedTime = System.currentTimeMillis();
                doReturn(expectedTime).when(smbFile).lastModified();
    
                // Act & Assert
                assertEquals(expectedTime, smbFile.lastModified());
            }
    
            @Test
            void testSetLastModified() throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
Back to Top