Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,341 for ulong (0.2 sec)

  1. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/RandomAccessFileInputStream.java

        private final RandomAccessFile file;
    
        public RandomAccessFileInputStream(RandomAccessFile file) {
            this.file = file;
        }
    
        @Override
        public long skip(long n) throws IOException {
            file.seek(file.getFilePointer() + n);
            return n;
        }
    
        @Override
        public int read(byte[] bytes) throws IOException {
            return file.read(bytes);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java

            @Override
            public JvmMemoryStatus read(Decoder decoder) throws EOFException, Exception {
                long committedMemory = decoder.readLong();
                long maxMemory = decoder.readLong();
                return new JvmMemoryStatusSnapshot(maxMemory, committedMemory);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/ModificationTimeFileAccessTimeJournal.java

        @Override
        public void setLastAccessTime(File file, long millis) {
            try {
                Files.setLastModifiedTime(file.toPath(), FileTime.fromMillis(millis));
            } catch (IOException e) {
                LOGGER.debug("Ignoring failure to set last access time of " + file, e);
            }
        }
    
        @Override
        public long getLastAccessTime(File file) {
            return file.lastModified();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/TimeFormattingTest.groovy

            "1 hour"            | "10 hours"          | hours(1) + minutes(1) + seconds(1)  | "1h 1m 1s"
        }
    
        private static long hours(double value) {
            return minutes(value * 60.0)
        }
    
        private static long minutes(double value) {
            return seconds(value * 60.0)
        }
    
        private static long seconds(double value) {
            return value * 1000.0
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun ServerSocket.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    internal fun Long.toHexString(): String = java.lang.Long.toHexString(this)
    
    internal fun Int.toHexString(): String = Integer.toHexString(this)
    
    @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/gradients.cc

      // in `internal_outputs`.
      std::unordered_set<int> internal_outputs;
      std::unordered_set<Node*> visited;
      // Initialize `queue` for BFS traversal. Nodes in `queue` hold upcoming nodes
      // along with the last Node in `output_` encountered along that path. If no
      // `output_` node was encountered, pair.second will be nullptr.
      std::deque<std::pair<Node*, Node*>> queue;
      for (const Output& nout : inputs_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        }
      }
      return result
    }
    
    internal const val USER_AGENT: String = "okhttp/${CONST_VERSION}"
    
    internal fun checkOffsetAndCount(
      arrayLength: Long,
      offset: Long,
      count: Long,
    ) {
      if (offset or count < 0L || offset > arrayLength || arrayLength - offset < count) {
        throw ArrayIndexOutOfBoundsException("length=$arrayLength, offset=$offset, count=$offset")
      }
    }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy

        def "PID unboxing should not happen in Status"() {
            given:
            Long unknownPID = null;
    
            when:
            def status = new Status(unknownPID, "", "");
    
            then:
            notThrown(NullPointerException)
            status.pid == null
        }
    
        def "PID unboxing should not happen in DaemonStopEvent"() {
            given:
            Long unknownPID = null;
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

            }
        }
    
        /**
         * The interceptor for {@link Long#getLong(String)}, {@link Long#getLong(String, long)}, and {@link Long#getLong(String, Long)}.
         */
        private static class LongGetLongInterceptor extends ClassBoundCallInterceptor implements FilterableCallInterceptor, InstrumentationInterceptor {
            public LongGetLongInterceptor() {
                super(Long.class, InterceptScope.methodsNamed("getLong"));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

        ) : ConfigurationCacheFingerprint()
    
        abstract class ChangingDependencyResolutionValue(
            val expireAt: Long
        ) : ConfigurationCacheFingerprint() {
            abstract val reason: String
        }
    
        class DynamicDependencyVersion(
            val displayName: String,
            expireAt: Long
        ) : ChangingDependencyResolutionValue(expireAt) {
            override val reason: String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top