Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 2,678 for IO (0.01 seconds)

  1. internal/ringbuffer/ring_buffer_benchmark_test.go

    package ringbuffer
    
    import (
    	"io"
    	"strings"
    	"testing"
    )
    
    func BenchmarkRingBuffer_Sync(b *testing.B) {
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	for b.Loop() {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.codegen
    
    import java.io.File
    import java.io.IOException
    import java.util.Properties
    import java.util.jar.JarEntry
    import java.util.jar.JarFile
    
    
    data class PluginEntry(val pluginId: String, val implementationClass: String)
    
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/ResourceHandler.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import java.io.InputStream;
    
    /**
     * Interface for handlers that process resources.
     *
     * @author taedium
     */
    public interface ResourceHandler {
    
        /**
         * Processes a resource.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 997 bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

     *
     * <pre>
     * Example usage:
     * throw new SuggestIndexException("Indexing error occurred");
     * throw new SuggestIndexException(new IOException("IO error"));
     * throw new SuggestIndexException("Indexing error", new IOException("IO error"));
     * </pre>
     *
     * @see SuggesterException
     */
    public class SuggestIndexException extends SuggesterException {
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. callbacks/delete.go

    package callbacks
    
    import (
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func BeforeDelete(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && db.Statement.Schema.BeforeDelete {
    		callMethod(db, func(value interface{}, tx *gorm.DB) bool {
    			if i, ok := value.(BeforeDeleteInterface); ok {
    				db.AddError(i.BeforeDelete(tx))
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipOutputStream;
    
    import org.apache.commons.compress.archivers.ArchiveStreamFactory;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. README.md

     [okhttp]: https://square.github.io/okhttp/
     [okhttp_312x]: https://github.com/square/okhttp/tree/okhttp_3.12.x
     [okio]: https://github.com/square/okio
     [post_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/PostExample.java
     [r8_proguard]: https://square.github.io/okhttp/features/r8_proguard/
     [recipes]: https://square.github.io/okhttp/recipes/
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.charset.StandardCharsets;
    import java.security.MessageDigest;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.StringWriter;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. src/archive/zip/zip_test.go

    	}
    	rc.(*checksumReader).hash = fakeHash32{}
    	for i := 0; i < chunks; i++ {
    		_, err := io.ReadFull(rc, chunk)
    		if err != nil {
    			t.Fatal("read:", err)
    		}
    	}
    	if frag := int(size % chunkSize); frag > 0 {
    		_, err := io.ReadFull(rc, chunk[:frag])
    		if err != nil {
    			t.Fatal("read:", err)
    		}
    	}
    	gotEnd, err := io.ReadAll(rc)
    	if err != nil {
    		t.Fatal("read end:", err)
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
Back to Top