Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,612 for writeFn (0.17 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                }
            }
    
            /**
             * Writes a line to the new file.
             *
             * @param line The line to write.
             */
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                    w.wait(10);
                }
                assertTrue(w.isReady(), "WriterThread should be ready");
    
                // Submit a write that will throw inside the writer thread
                w.write(payload, payload.length, out);
    
                // Give the writer thread time to process and set exception
                w.wait(100);
            }
    
            // Wait a bit more to ensure exception is captured
            Thread.sleep(100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types_gen.go

    func (z BatchJobRetry) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Attempts"
    	err = en.Append(0x82, 0xa8, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Attempts)
    	if err != nil {
    		err = msgp.WrapError(err, "Attempts")
    		return
    	}
    	// write "Delay"
    	err = en.Append(0xa5, 0x44, 0x65, 0x6c, 0x61, 0x79)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

                    try {
                        writer.write(s);
                        writer.write('\n');
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                });
            } catch (final Exception e) {
                logger.warn("Failed to write a thread dump to {}", file, e);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

              Huffman.encode(data, huffmanBuffer)
              val huffmanBytes = huffmanBuffer.readByteString()
              writeInt(huffmanBytes.size, PREFIX_7_BITS, 0x80)
              out.write(huffmanBytes)
            } else {
              writeInt(data.size, PREFIX_7_BITS, 0)
              out.write(data)
            }
          }
    
          fun resizeHeaderTable(headerTableSizeSetting: Int) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
          if (associatedStreamId == 0) {
            writer.headers(outFinished, streamId, requestHeaders)
          } else {
            require(!client) { "client streams shouldn't have associated stream IDs" }
            // HTTP/2 has a PUSH_PROMISE frame.
            writer.pushPromise(associatedStreamId, streamId, requestHeaders)
          }
        }
    
        if (flushHeaders) {
          writer.flush()
        }
    
        return stream
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        }
    
        return result
      }
    
      override fun toDer(
        writer: DerWriter,
        value: T,
      ) {
        if (typeHint) {
          writer.typeHint = value
        }
    
        if (isOptional && value == defaultValue) {
          // Nothing to write!
          return
        }
    
        writer.write(name, tagClass, tag) {
          codec.encode(writer, value)
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @return number of bytes written
         */
        protected abstract int writeParametersWireFormat(byte[] dst, int dstIndex);
    
        /**
         * Writes data in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
         */
        protected abstract int writeDataWireFormat(byte[] dst, int dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. cmd/batch-expire_gen.go

    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BatchJobExpirePurge) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 1
    	// write "RetainVersions"
    	err = en.Append(0x81, 0xae, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.RetainVersions)
    	if err != nil {
    		err = msgp.WrapError(err, "RetainVersions")
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom_gen.go

    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *PoolStatus) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 4
    	// write "id"
    	err = en.Append(0x84, 0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "cl"
    	err = en.Append(0xa2, 0x63, 0x6c)
    	if err != nil {
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
Back to top