Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,405 for punt (0.05 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        public void activateBatchMode(boolean ciEnv, String[] cliArgs, boolean isBatchMode) throws Exception {
            CliRequest request = new CliRequest(cliArgs, null);
            if (ciEnv) request.getSystemProperties().put("env.CI", "true");
            cli.cli(request);
    
            boolean batchMode = !cli.populateRequest(request).isInteractiveMode();
    
            assertThat(batchMode, is(isBatchMode));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    	dec := s2DecPool.Get().(*s2.Reader)
    	dec.Reset(r)
    	mr := msgpNewReader(dec)
    	return &metacacheReader{
    		mr: mr,
    		closer: func() {
    			dec.Reset(nil)
    			s2DecPool.Put(dec)
    			readMsgpReaderPoolPut(mr)
    		},
    		creator: func() error {
    			v, err := mr.ReadByte()
    			if err != nil {
    				return err
    			}
    			switch v {
    			case 1, 2:
    			default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. cmd/bitrot-streaming.go

    	// Hence an immediate Read() on the file can return incorrect data.
    	if b.canClose != nil {
    		b.canClose.Wait()
    	}
    
    	// Recycle the buffer.
    	if b.byteBuf != nil {
    		globalBytePoolCap.Load().Put(b.byteBuf)
    		b.byteBuf = nil
    	}
    	return err
    }
    
    // newStreamingBitrotWriterBuffer returns streaming bitrot writer implementation.
    // The output is written to the supplied writer w.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/typed-errors.go

    // errSignatureMismatch means signature did not match.
    var errSignatureMismatch = errors.New("Signature does not match")
    
    // When upload object size is greater than 5G in a single PUT/POST operation.
    var errDataTooLarge = errors.New("Object size larger than allowed limit")
    
    // When upload object size is less than what was expected.
    var errDataTooSmall = errors.New("Object size smaller than expected")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/warm-backend-gcs.go

    		return "", gcsToObjectError(err, gcs.Bucket, key)
    	}
    
    	return "", w.Close()
    }
    
    // FIXME: add support for remote version ID in GCS remote tier and remove this.
    // Currently it's a no-op.
    func (gcs *warmBackendGCS) Put(ctx context.Context, key string, data io.Reader, length int64) (remoteVersionID, error) {
    	return gcs.PutWithMeta(ctx, key, data, length, map[string]string{})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil_test.go

    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	defer f.Close()
    	defer os.Remove(f.Name())
    
    	r := strings.NewReader("hello world")
    
    	bufp := ODirectPoolSmall.Get().(*[]byte)
    	defer ODirectPoolSmall.Put(bufp)
    
    	written, err := CopyAligned(f, io.LimitReader(r, 5), *bufp, r.Size(), f)
    	if !errors.Is(err, io.ErrUnexpectedEOF) {
    		t.Errorf("Expected io.ErrUnexpectedEOF, but got %v", err)
    	}
    	if written != 5 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    if (authScope.getHost() != null && authScheme != null) {
                        final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort());
                        authCache.put(targetHost, authScheme);
                    }
                }
            }
    
            httpClientContext.setAuthCache(authCache);
            httpClientContext.setCredentialsProvider(credentialsProvider);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     *
     * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how
     * that affects users, especially users of the Android Gradle Plugin, since the plugin developers
     * put in a special hack for us: https://issuetracker.google.com/issues/131431257)
     */
    @DoNotMock("Use the methods in Futures (like immediateFuture) or SettableFuture")
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Serialization.java

          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          V value = (V) stream.readObject();
          map.put(key, value);
        }
      }
    
      /**
       * Stores the contents of a multiset in an output stream, as part of serialization. It does not
       * support concurrent multisets whose content may change while the method is running.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            }
    
            ArtifactMetadata m = metadataMap.get(metadata.getKey());
            if (m != null) {
                m.merge(metadata);
            } else {
                metadataMap.put(metadata.getKey(), metadata);
            }
        }
    
        @Override
        public Collection<ArtifactMetadata> getMetadataList() {
            if (metadataMap == null) {
                return Collections.emptyList();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top