Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for WriteBytes (0.13 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            indexFile.deleteOnExit();
            FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8"));
    
            for (int i = 1; i <= 10; i++) {
                final File file = new File(dir, "file" + count + "-" + i + ".html");
                file.deleteOnExit();
                FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 12:34:49 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                            )
    
                            classesDir.resolve(details.outputClassFilename).apply {
                                parentFile.mkdirs()
                                writeBytes(classWriter.toByteArray())
                            }
                        } catch (exception: Exception) {
                            throw ClassAnalysisException("Could not transform class from ${file.toFile()}", exception)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		err = msgp.WrapError(err, "ReplicationState")
    		return
    	}
    	if z.Data == nil { // allownil: if nil
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteBytes(z.Data)
    		if err != nil {
    			err = msgp.WrapError(err, "Data")
    			return
    		}
    	}
    	err = en.WriteInt(z.NumVersions)
    	if err != nil {
    		err = msgp.WrapError(err, "NumVersions")
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	}
    }
    
    type readFromWriter struct {
    	buf           []byte
    	writeBytes    int
    	readFromBytes int
    }
    
    func (w *readFromWriter) Write(p []byte) (int, error) {
    	w.buf = append(w.buf, p...)
    	w.writeBytes += len(p)
    	return len(p), nil
    }
    
    func (w *readFromWriter) ReadFrom(r io.Reader) (int64, error) {
    	b, err := io.ReadAll(r)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Algorithm")
    		return
    	}
    	// write "Hash"
    	err = en.Append(0xa4, 0x48, 0x61, 0x73, 0x68)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes(z.Hash)
    	if err != nil {
    		err = msgp.WrapError(err, "Hash")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *ChecksumInfo) MarshalMsg(b []byte) (o []byte, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top