Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 148 for writeInt8 (0.62 sec)

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

        }
    
        InputStream encoded(String text) {
            def stream = new ByteArrayOutputStream()
            def encoder = new KryoBackedEncoder(stream)
            encoder.writeString(text)
            encoder.writeInt(12)
            encoder.flush()
            return new ByteArrayInputStream(stream.toByteArray())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

            this.path = fileName;
            command = SMB_COM_DELETE;
            searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( searchAttributes, dst, dstIndex );
            return 2;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            return 2;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            dst[dstIndex++] = subCommand;
            dst[dstIndex++] = (byte)0x00;
            return 2;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
    
            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

            this.lastWriteTime = mtime;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeUTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 4;
            // reserved
            dstIndex += 10;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractCollectionSerializer.java

                values.add(entrySerializer.read(decoder));
            }
            return values;
        }
    
        @Override
        public void write(Encoder encoder, C value) throws Exception {
            encoder.writeInt(value.size());
            for (T t : value) {
                entrySerializer.write(encoder, t);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/KeyHasherTest.groovy

        }
    
        static class InefficientSerializer implements Serializer<Long> {
            @Override
            void write(Encoder encoder, Long value) throws Exception {
                value.times { int n ->
                    encoder.writeInt(n)
                }
            }
    
            @Override
            Long read(Decoder decoder) throws EOFException, Exception {
                throw new UnsupportedOperationException()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/MultiChoiceAddressSerializer.java

            UUID canonicalAddress = address.getCanonicalAddress();
            encoder.writeLong(canonicalAddress.getMostSignificantBits());
            encoder.writeLong(canonicalAddress.getLeastSignificantBits());
            encoder.writeInt(address.getPort());
            encoder.writeSmallInt(address.getCandidates().size());
            for (InetAddress inetAddress : address.getCandidates()) {
                encoder.writeBinary(inetAddress.getAddress());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryContent.java

                }
            }
    
            private void writeStopEvents(Encoder encoder, DaemonRegistryContent registry) throws Exception {
                List<DaemonStopEvent> stopEvents = registry.stopEvents;
                encoder.writeInt(stopEvents.size());
                for (DaemonStopEvent stopEvent : stopEvents) {
                    DaemonStopEvent.SERIALIZER.write(encoder, stopEvent);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/VisitableURLClassLoaderSpecSerializer.java

                encoder.writeByte(MIXIN_CLASSLOADER_SPEC);
            } else {
                encoder.writeByte(VISITABLE_URL_CLASSLOADER_SPEC);
            }
    
            encoder.writeString(spec.getName());
            encoder.writeInt(spec.getClasspath().size());
            for (URL url : spec.getClasspath()) {
                encoder.writeString(url.toString());
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top