Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for WriteBytes (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                writeParams.setAccessible(true);
                writeParams.invoke(cancel, dst, 0);
    
                Method writeBytes = SmbComNtCancel.class.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class);
                writeBytes.setAccessible(true);
                writeBytes.invoke(cancel, dst, 0);
    
                // Then - array should remain unchanged
                assertArrayEquals(originalDst, dst);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      }
    
      /**
       * @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 {
        ((DataOutputStream) out).writeBytes(s);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. 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))
    	}
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 56K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            try {
                // Create temporary properties file
                File tempPropFile = File.createTempFile("test_suggest_", ".properties");
                tempPropFile.deleteOnExit();
                FileUtil.writeBytes(tempPropFile.getAbsolutePath(), "test.property=value".getBytes());
    
                SuggestCreator.Options options = new SuggestCreator.Options();
                options.propertiesPath = tempPropFile.getAbsolutePath();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            assertNotNull(writeParameterWords);
    
            Method writeBytes = clazz.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class);
            assertNotNull(writeBytes);
    
            Method readParameterWords = clazz.getDeclaredMethod("readParameterWordsWireFormat", byte[].class, int.class);
            assertNotNull(readParameterWords);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. 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);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top