Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 2,029 for Size (0.05 sec)

  1. android/guava/src/com/google/common/io/MoreFiles.java

            return Optional.absent();
          }
    
          return Optional.of(attrs.size());
        }
    
        @Override
        public long size() throws IOException {
          BasicFileAttributes attrs = readAttributes();
    
          // Don't return a size for directories or symbolic links; their sizes are implementation
          // specific and they can't be read as bytes using the read methods anyway.
          if (attrs.isDirectory()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/MoreFiles.java

            return Optional.absent();
          }
    
          return Optional.of(attrs.size());
        }
    
        @Override
        public long size() throws IOException {
          BasicFileAttributes attrs = readAttributes();
    
          // Don't return a size for directories or symbolic links; their sizes are implementation
          // specific and they can't be read as bytes using the read methods anyway.
          if (attrs.isDirectory()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        // Insert in chronological order. Always compare deltas because nanoTime() is permitted to wrap.
        var insertAt = futureTasks.indexOfFirst { it.nextExecuteNanoTime - now > delayNanos }
        if (insertAt == -1) insertAt = futureTasks.size
        futureTasks.add(insertAt, task)
    
        // Impact the coordinator if we inserted at the front.
        return insertAt == 0
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularContiguousSet.java

            @Override
            ImmutableSortedSet<C> delegateCollection() {
              return RegularContiguousSet.this;
            }
    
            @Override
            public C get(int i) {
              checkElementIndex(i, size());
              return domain.offset(first(), i);
            }
    
            // redeclare to help optimizers with b/310253115
            @SuppressWarnings("RedundantOverride")
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public Object setProperty(final String key, final String value) {
            return getProperties().setProperty(key, value);
        }
    
        @Override
        public int size() {
            return getProperties().size();
        }
    
        @Override
        public void store(final OutputStream out, final String comments) throws IOException {
            getProperties().store(out, comments);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        return q.comparator();
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public int size() {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.size();
        } finally {
          monitor.leave();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

    // tensors in `retvals`.
    //
    // 'retvals' must point to a pre-allocated array of TFE_TensorHandle* and
    // '*num_retvals' should be set to the size of this array. It is an error if
    // the size of 'retvals' is less than the number of outputs. This call sets
    // *num_retvals to the number of outputs.
    //
    // If async execution is enabled, the call may simply enqueue the execution
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
            return null;
        }
    
        public static class CycleDetectedException extends Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

                List<T> dominant, List<T> recessive, String recessiveSourceLevel) {
            Map<String, T> dominantById = mapById(dominant);
            final List<T> identifiables = new ArrayList<>(recessive.size());
    
            for (T identifiable : recessive) {
                if (!dominantById.containsKey(identifiable.getId())) {
                    identifiable.setSourceLevel(recessiveSourceLevel);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top