Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for writeBytes (0.19 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      }
    
      @Override
      public void writeByte(int v) throws IOException {
        ((DataOutputStream) out).writeByte(v);
      }
    
      /**
       * @deprecated The semantics of {@code writeBytes(String s)} are considered dangerous. Please use
       *     {@link #writeUTF(String s)}, {@link #writeChars(String s)} or another write method instead.
       */
      @Deprecated
      @Override
      public void writeBytes(String s) throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  3. cmd/bucket-metadata_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteBytes(z.PolicyConfigJSON)
    	if err != nil {
    		err = msgp.WrapError(err, "PolicyConfigJSON")
    		return
    	}
    	// write "NotificationConfigXML"
    	err = en.Append(0xb5, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes(z.NotificationConfigXML)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu May 25 05:52:39 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-process.go

    	}
    
    	if io.ReadBytes > 0 {
    		m.Set(processIOReadBytes, float64(io.ReadBytes))
    	}
    
    	if io.WChar > 0 {
    		m.Set(processIOWCharBytes, float64(io.WChar))
    	}
    
    	if io.WriteBytes > 0 {
    		m.Set(processIOWriteBytes, float64(io.WriteBytes))
    	}
    
    	if io.SyscR > 0 {
    		m.Set(processSyscallReadTotal, float64(io.SyscR))
    	}
    
    	if io.SyscW > 0 {
    		m.Set(processSyscallWriteTotal, float64(io.SyscW))
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      /**
       * @deprecated This method is dangerous as it discards the high byte of every character. For
       *     UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}.
       */
      @Deprecated
      @Override
      void writeBytes(String s);
    
      /** Returns the contents that have been written to this instance, as a byte array. */
      byte[] toByteArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_gen.go

    	err = en.Append(0xa2, 0x49, 0x44)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes((z.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	// write "DDir"
    	err = en.Append(0xa4, 0x44, 0x44, 0x69, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes((z.DataDir)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "DataDir")
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            final File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "fess.version=98.76.5".getBytes());
            final File desginJspRootFile = File.createTempFile("jsp", "");
            desginJspRootFile.delete();
            desginJspRootFile.deleteOnExit();
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
            FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8));
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            FileUtils.deleteDirectory(testDir);
        }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                    return Integer.valueOf(-1);
                }
            };
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top