Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 223 for writeInt8 (0.23 sec)

  1. guava/src/com/google/common/collect/Serialization.java

          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
        int entryCount = multiset.entrySet().size();
        stream.writeInt(entryCount);
        for (Multiset.Entry<E> entry : multiset.entrySet()) {
          stream.writeObject(entry.getElement());
          stream.writeInt(entry.getCount());
        }
      }
    
      /**
       * Populates a multiset by reading an input stream, as part of deserialization. See {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/OutputStreamBackedEncoder.java

        }
    
        @Override
        public void writeLong(long value) throws IOException {
            outputStream.writeLong(value);
        }
    
        @Override
        public void writeInt(int value) throws IOException {
            outputStream.writeInt(value);
        }
    
        @Override
        public void writeShort(short value) throws IOException {
            outputStream.writeShort(value);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Serialization.java

          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
        int entryCount = multiset.entrySet().size();
        stream.writeInt(entryCount);
        for (Multiset.Entry<E> entry : multiset.entrySet()) {
          stream.writeObject(entry.getElement());
          stream.writeInt(entry.getCount());
        }
      }
    
      /**
       * Populates a multiset by reading an input stream, as part of deserialization. See {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                int index = offset + SmbConstants.SIGNATURE_OFFSET;
                for ( int i = 0; i < 8; i++ )
                    data[ index + i ] = 0;
                SMBUtil.writeInt4(this.signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if ( this.bypass ) {
                    this.bypass = false;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                }
                encoder.writeBoolean(context.idleTimeout != null);
                if (context.idleTimeout != null) {
                    encoder.writeInt(context.idleTimeout);
                }
                encoder.writeInt(context.daemonOpts.size());
                for (String daemonOpt : context.daemonOpts) {
                    encoder.writeString(daemonOpt);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       */
      @Override
      public void writeFloat(float v) throws IOException {
        writeInt(Float.floatToIntBits(v));
      }
    
      /**
       * Writes an {@code int} as specified by {@link DataOutputStream#writeInt(int)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeInt(int v) throws IOException {
        out.write(0xFF & v);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       */
      @Override
      public void writeFloat(float v) throws IOException {
        writeInt(Float.floatToIntBits(v));
      }
    
      /**
       * Writes an {@code int} as specified by {@link DataOutputStream#writeInt(int)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeInt(int v) throws IOException {
        out.write(0xFF & v);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/ApplicationClassesInSystemClassLoaderWorkerImplementationFactory.java

                outstr.writeInt(sharedPackages.size());
                for (String str : sharedPackages) {
                    outstr.writeUTF(str);
                }
    
                // Serialize the worker implementation classpath, this is consumed by GradleWorkerMain
                if (runAsModule || implementationModulePath == null) {
                    outstr.writeInt(implementationClassPath.size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 10:09:51 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java

                builder.add(readIsolatable(decoder));
            }
        }
    
        private void writeIsolatableSequence(Encoder encoder, Collection<Isolatable<?>> elements) throws Exception {
            encoder.writeInt(elements.size());
            for (Isolatable<?> isolatable : elements) {
                writeIsolatable(encoder, isolatable);
            }
        }
    
        private Object readState(Decoder decoder) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/BootstrapSecurityManagerTest.groovy

            given:
            def incompleteStream = new ByteArrayOutputStream()
            def dataOut = new DataOutputStream(new EncodedStream.EncodedOutput(incompleteStream))
            dataOut.writeInt(1) // expect one classpath entry
            dataOut.write(1234) // but the entry is not a complete UTF-8 encoded String
    
            System.in = new ByteArrayInputStream(incompleteStream.toByteArray())
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top