Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,355 for ulong (0.04 sec)

  1. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerRegistryTest.groovy

            given:
            def registry = new DefaultSerializerRegistry()
            registry.register(Long, longSerializer)
            registry.register(Integer, intSerializer)
            registry.useJavaSerialization(StringBuilder)
    
            expect:
            registry.canSerialize(Long)
            registry.canSerialize(Number)
            registry.canSerialize(Object)
            !registry.canSerialize(BigDecimal)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          public long getLongLittleEndian(byte[] array, int offset) {
            long bigEndian = theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET);
            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatistics.java

                long hierarchyCount = this.hierarchyCount.getAndSet(0);
                long directoryCount = this.directoryCount.getAndSet(0);
                long fileCount = this.fileCount.getAndSet(0);
                long failedFileCount = this.failedFileCount.getAndSet(0);
    
                return new DirectorySnapshotterStatistics() {
                    @Override
                    public long getVisitedHierarchyCount() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/FileHasherStatistics.java

            public void reportFileHashed(long length) {
                hashedFileCount.incrementAndGet();
                hashedContentLength.addAndGet(length);
            }
    
            public FileHasherStatistics collect() {
                long hashedFileCount = this.hashedFileCount.getAndSet(0);
                long hashedContentLength = this.hashedContentLength.getAndSet(0);
                return new FileHasherStatistics() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

         */
        void assertCompletionNotExpected(long timeout) {
          Preconditions.checkArgument(timeout < expectedCompletionWaitMillis);
          assertAtLeastTimePassed(stopwatch, timeout);
          assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis);
        }
      }
    
      private static void assertAtLeastTimePassed(Stopwatch stopwatch, long expectedMillis) {
        long elapsedMillis = stopwatch.elapsed(MILLISECONDS);
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyRead.groovy

            return new SystemPropertyRead() {
                @Override
                String getJavaExpression() {
                    return "Long.getLong(\"$name\", Long.valueOf($defaultValue))"
                }
    
                @Override
                String getGroovyExpression() {
                    return "Long.getLong(\"$name\", $defaultValue as Long)"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/DefaultMemoryManager.java

            long newFreeMemory = doRequestFreeMemory(status.getName(), requestedFreeMemory, freeMemory);
            return newFreeMemory > freeMemory;
        }
    
        private long doRequestFreeMemory(String name, long requestedFreeMemory, long freeMemory) {
            long toReleaseMemory = requestedFreeMemory;
            if (freeMemory < requestedFreeMemory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCleanupProgressMonitor.java

    import org.gradle.internal.operations.BuildOperationContext;
    
    public class DefaultCleanupProgressMonitor implements CleanupProgressMonitor {
    
        private final BuildOperationContext buildOperationContext;
        private long deleted;
        private long skipped;
    
        public DefaultCleanupProgressMonitor(BuildOperationContext buildOperationContext) {
            this.buildOperationContext = buildOperationContext;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

            @Provides
            Long createLong(Long value) {
                return value + 2
            }
    
            @Provides
            Long decorateLong(Long value) {
                return value + 2
            }
        }
    
        private static class TestDecoratingProviderWithCreate implements ServiceRegistrationProvider {
            @Provides
            Long createLong(Long value) {
                return value + 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandler.java

        private final Lock lock = new ReentrantLock();
    
        private final Map<Long, ContendedAction> contendedActions = new HashMap<>();
        private final Map<Long, FileLockReleasedSignal> lockReleasedSignals = new HashMap<>();
        private final Map<Long, Integer> unlocksRequestedFrom = new HashMap<>();
        private final Map<Long, Integer> unlocksConfirmedFrom = new HashMap<>();
    
        private final ExecutorFactory executorFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top