Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 45 for hasSize (0.13 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Thread.interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
        assertThat(logRecords).hasSize(1);
        LogRecord logRecord = logRecords.get(0);
        logHandler.clear();
        return logRecord.getThrown();
      }
    
      private void checkNothingLogged() {
        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
        ImmutableList<Parameter> parameters =
            type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters();
        assertThat(parameters).hasSize(1);
        TypeToken<?> parameterType = parameters.get(0).getType();
        assertEquals(List.class, parameterType.getRawType());
        assertFalse(
            parameterType.getType().toString(),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // contain the computed value (b -> b), since the clear() happened before the computation
        // completed.
        assertThat(listener).hasSize(1);
        RemovalNotification<String, String> notification = listener.remove();
        assertThat(notification.getKey()).isEqualTo("a");
        assertThat(notification.getValue()).isEqualTo("a");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // contain the computed value (b -> b), since the clear() happened before the computation
        // completed.
        assertThat(listener).hasSize(1);
        RemovalNotification<String, String> notification = listener.remove();
        assertThat(notification.getKey()).isEqualTo("a");
        assertThat(notification.getValue()).isEqualTo("a");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.hasSize
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import assertk.assertions.isNull
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    import assertk.all
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.hasMessage
    import assertk.assertions.hasSize
    import assertk.assertions.index
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isIn
    import assertk.assertions.isLessThan
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

                    + ",allocationSize=" + this.allocationSize + ",extFileAttributes=" + this.extFileAttributes + ",eaSize=" + this.eaSize
                    + ",shortName=" + this.shortName + ",filename=" + this.filename + "]");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

                    + ",allocationSize=" + info.allocationSize + ",extFileAttributes=" + info.extFileAttributes + ",fileNameLength="
                    + info.fileNameLength + ",eaSize=" + info.eaSize + ",shortNameLength=" + info.shortNameLength + ",shortName="
                    + info.shortName + ",filename=" + info.filename + "]";
            assertEquals(expected, info.toString());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // allocationSize
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 56); // extFileAttributes
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 64); // eaSize
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals(Integer.MAX_VALUE, fileBothDirectoryInfo.getNextEntryOffset());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  10. internal/s3select/sql/timestampfuncs.go

    	hasZone := zoneOffset != 0
    	hasFracSecond := t.Nanosecond() != 0
    	hasSecond := t.Second() != 0
    	hasTime := t.Hour() != 0 || t.Minute() != 0
    	hasDay := t.Day() != 1
    	hasMonth := t.Month() != 1
    
    	switch {
    	case hasFracSecond:
    		return t.Format(layoutNanosecond)
    	case hasSecond:
    		return t.Format(layoutSecond)
    	case hasTime || hasZone:
    		return t.Format(layoutMinute)
    	case hasDay:
    		return t.Format(layoutDay)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top