Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 371 for readdir (0.1 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputFile.openInputStream()))) {
                    String line;
                    StringBuilder contentBuilder = new StringBuilder();
                    while ((line = reader.readLine()) != null) {
                        if (!line.trim().startsWith("#")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

            }
    
            override fun onRetryChange(timeMs: Long) {
              callbacks.add(timeMs)
            }
          }
        val buffer = Buffer().writeUtf8(source)
        val reader = ServerSentEventReader(buffer, callback)
        while (reader.processNextEvent()) {
        }
        assertThat(buffer.size, "Unconsumed buffer: ${buffer.readUtf8()}")
          .isEqualTo(0)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkTester.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Lists;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * @param <S> the source or sink type
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. internal/lsync/lrwmutex_test.go

    	cdone := make(chan bool)
    	go writer(rwm, numIterations, &activity, cdone)
    	var i int
    	for i = 0; i < numReaders/2; i++ {
    		go reader(rwm, numIterations, &activity, cdone)
    	}
    	go writer(rwm, numIterations, &activity, cdone)
    	for ; i < numReaders; i++ {
    		go reader(rwm, numIterations, &activity, cdone)
    	}
    	// Wait for the 2 writers and all readers to finish.
    	for i := 0; i < 2+numReaders; i++ {
    		<-cdone
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSink.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.Writer;
    import java.nio.charset.Charset;
    import java.util.Iterator;
    import java.util.stream.Stream;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err)
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	const mapEntryOverhead = 200
    
    	var (
    		reader        io.Reader
    		actualSize    int64 = -1
    		fileName      string
    		fanOutEntries = make([]minio.PutObjectFanOutEntry, 0, 100)
    	)
    
    	maxParts := 1000
    	// Canonicalize the form values into http.Header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(DefaultEncryptInvoker.LocalContext context) throws Exception {
            String encrypted = context.reader.readLine("Enter the password to decrypt: ");
            if (secDispatcher.isAnyEncryptedString(encrypted)) {
                context.terminal.writer().println(secDispatcher.decrypt(encrypted));
                return OK;
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            verifyToken(this::asUploadHtml);
            CommonPoolUtil.execute(() -> {
                try (Reader reader = new BufferedReader(new InputStreamReader(form.elevateWordFile.getInputStream(), getCsvEncoding()))) {
                    elevateWordService.importCsv(reader);
                    suggestHelper.deleteAllElevateWord(false);
                    suggestHelper.storeAllElevateWords(false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. cmd/warm-backend-s3.go

    	destObj := object
    	if s3.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    	}
    	return destObj
    }
    
    func (s3 *warmBackendS3) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	res, err := s3.client.PutObject(ctx, s3.Bucket, s3.getDest(object), r, length, minio.PutObjectOptions{
    		SendContentMd5: true,
    		StorageClass:   s3.StorageClass,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. cmd/bucket-replication-metrics_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *ActiveWorkerStat) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top