Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for writeLong (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataCacheEntrySerializer.java

            switch (value.type) {
                case ModuleMetadataCacheEntry.TYPE_MISSING:
                    encoder.writeLong(value.createTimestamp);
                    break;
                case ModuleMetadataCacheEntry.TYPE_PRESENT:
                    encoder.writeBoolean(value.isChanging);
                    encoder.writeLong(value.createTimestamp);
                    break;
                default:
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-10-10 21:10
    - 2.6K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeLong(0L).writeLong(it).readByteArray(),
            )
          }
      }
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-01-08 01:13
    - 2.6K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                            indexOutput.writeLong(region.stdOutRegion.stop);
                            indexOutput.writeLong(region.stdErrRegion.start);
                            indexOutput.writeLong(region.stdErrRegion.stop);
                        }
                    }
                } finally {
                    indexOutput.close();
                }
            }
        }
    
        public Writer writer() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-16 15:49
    - 14.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/MultiChoiceAddressSerializer.java

        }
    
        @Override
        public void write(Encoder encoder, MultiChoiceAddress address) throws IOException {
            UUID canonicalAddress = address.getCanonicalAddress();
            encoder.writeLong(canonicalAddress.getMostSignificantBits());
            encoder.writeLong(canonicalAddress.getLeastSignificantBits());
            encoder.writeInt(address.getPort());
            encoder.writeSmallInt(address.getCandidates().size());
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 08:59
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java

            }
    
            @Override
            public void write(Encoder encoder, JvmMemoryStatus jvmMemoryStatus) throws Exception {
                encoder.writeLong(jvmMemoryStatus.getCommittedMemory());
                encoder.writeLong(jvmMemoryStatus.getMaxMemory());
            }
        }
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-23 05:58
    - 2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/worker/request/RequestSerializer.java

                argSerializer.write(target, object);
            });
    
            encoder.writeLong(request.getBuildOperation().getId().getId());
            OperationIdentifier parentId = request.getBuildOperation().getParentId();
            if (parentId != null) {
                encoder.writeBoolean(true);
                encoder.writeLong(parentId.getId());
            } else {
                encoder.writeBoolean(false);
            }
        }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2020-03-15 22:51
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedEncoder.java

            output.writeBytes(bytes, offset, count);
        }
    
        @Override
        public void writeLong(long value) {
            output.writeLong(value);
        }
    
        @Override
        public void writeSmallLong(long value) {
            output.writeLong(value, true);
        }
    
        @Override
        public void writeInt(int value) {
            output.writeInt(value);
        }
    
        @Override
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-15 16:06
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/OutputStreamBackedEncoder.java

        public OutputStreamBackedEncoder(OutputStream outputStream) {
            this.outputStream = new DataOutputStream(outputStream);
        }
    
        @Override
        public void writeLong(long value) throws IOException {
            outputStream.writeLong(value);
        }
    
        @Override
        public void writeInt(int value) throws IOException {
            outputStream.writeInt(value);
        }
    
        @Override
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-15 16:06
    - 2.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java

            output.writeBytes(bytes, offset, count);
        }
    
        @Override
        public void writeLong(long value) {
            output.writeLong(value);
        }
    
        @Override
        public void writeSmallLong(long value) {
            output.writeLong(value, true);
        }
    
        @Override
        public void writeInt(int value) {
            output.writeInt(value);
        }
    
        @Override
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-15 16:06
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        out.write(0xFF & (v >> 24));
      }
    
      /**
       * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeLong(long v) throws IOException {
        byte[] bytes = Longs.toByteArray(Long.reverseBytes(v));
        write(bytes, 0, bytes.length);
      }
    
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-05-17 14:35
    - 5.2K bytes
    - Viewed (0)
Back to top