Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 245 for isfile (0.09 sec)

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

        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
        assertThat(map.links).isNull();
    
        map.put(1, Integer.toString(1));
        assertThat(map.needsAllocArrays()).isFalse();
        assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.keys).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.values).hasLength(CompactHashing.DEFAULT_SIZE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        }
      }
    
      public void testContains() {
        assertThat(Bytes.contains(EMPTY, (byte) 1)).isFalse();
        assertThat(Bytes.contains(ARRAY1, (byte) 2)).isFalse();
        assertThat(Bytes.contains(ARRAY234, (byte) 1)).isFalse();
        assertThat(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 2)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. internal/bucket/replication/datatypes.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    //go:generate msgp -file=$GOFILE
    
    // StatusType of Replication for x-amz-replication-status header
    type StatusType string
    
    // Type - replication type enum
    type Type int
    
    const (
    	// Pending - replication is pending.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(ImmutableIntArray.of().isEmpty()).isTrue();
        assertThat(ImmutableIntArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableIntArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        assertWithMessage("%s is subtype of %s", paramType, returnType)
            .that(TypeToken.of(paramType).isSubtypeOf(returnType))
            .isFalse();
        assertWithMessage("%s is supertype of %s", returnType, paramType)
            .that(TypeToken.of(returnType).isSupertypeOf(paramType))
            .isFalse();
        if (!spec.suppressGetSubtype()) {
          try {
            assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. .github/actions/notify-translations/app/main.py

        g = Github(settings.input_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
        if not settings.github_event_path.is_file():
            raise RuntimeError(
                f"No github event file available at: {settings.github_event_path}"
            )
        contents = settings.github_event_path.read_text()
        github_event = PartialGitHubEvent.parse_raw(contents)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                .toSet()
        }
    
        /**
         * Parses the release notes file and returns the triple: (linesBeforeContributors, contributorLines, linesAfterContributors)
         */
        protected
        fun parseReleaseNotes(): Triple<List<String>, List<String>, List<String>> {
            val releaseNotesLines: List<String> = releaseNotes.asFile.get().readLines()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-errors.go

    	return errors.Is(err, syscall.EXDEV)
    }
    
    // Check if given error corresponds to too many open files
    func isSysErrTooManyFiles(err error) bool {
    	return errors.Is(err, syscall.ENFILE) || errors.Is(err, syscall.EMFILE)
    }
    
    func osIsNotExist(err error) bool {
    	return errors.Is(err, os.ErrNotExist)
    }
    
    func osIsPermission(err error) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top