Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 932 for carrot (0.04 seconds)

  1. cmd/erasure-utils.go

    // outSize length. Provides a way to skip bytes until the offset.
    func writeDataBlocks(ctx context.Context, dst io.Writer, enBlocks [][]byte, dataBlocks int, offset int64, length int64) (int64, error) {
    	// Offset and out size cannot be negative.
    	if offset < 0 || length < 0 {
    		return 0, errUnexpected
    	}
    
    	// Do we have enough blocks?
    	if len(enBlocks) < dataBlocks {
    		return 0, reedsolomon.ErrTooFewShards
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. cmd/admin-handlers-users_test.go

    		User:     accessKey,
    	})
    	if err != nil {
    		c.Fatalf("unable to attach policy: %v", err)
    	}
    	// 2.3 check user has access to bucket
    	c.mustListObjects(ctx, uClient, bucket)
    	// 2.3 check that user cannot delete the bucket
    	err = uClient.RemoveBucket(ctx, bucket)
    	if err == nil || err.Error() != "Access Denied." {
    		c.Fatalf("bucket was deleted unexpectedly or got unexpected err: %v", err)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            verify(mockDcerpcHandle).sendrecv(rpcCaptor.capture());
            MsrpcSamrOpenAlias capturedRpc = rpcCaptor.getValue();
            // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass
            // Instead, we verify the interaction with the DcerpcHandle and the return value.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

          tmp += UnsignedLongs.toString(x, 2).length();
        }
        return tmp;
      }
    
      private static long random() {
        return randomSource.nextLong();
      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/math/ToDoubleRounder.java

                  ? Double.POSITIVE_INFINITY
                  : -Double.MAX_VALUE;
            case UP:
              return roundArbitrarily;
            case UNNECESSARY:
              throw new ArithmeticException(x + " cannot be represented precisely as a double");
          }
        }
        X roundArbitrarilyAsX = toX(roundArbitrarily, RoundingMode.UNNECESSARY);
        int cmpXToRoundArbitrarily = x.compareTo(roundArbitrarilyAsX);
        switch (mode) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         * handled specially by removing the brackets before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
         * @throws UnknownHostException if the host name cannot be resolved
         */
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            // Handle IPv6 addresses in bracket notation
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 06 07:24:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

            rawtypeToWildcard(MultimapBuilder.treeKeys()).arrayListValues().<String, Integer>build();
        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. internal/grid/stream.go

    	// Channel *must* be closed to signal the end of the stream.
    	// If the request context is canceled, the stream will no longer process requests.
    	// Requests sent cannot be used any further by the called.
    	Requests chan<- []byte
    
    	muxID uint64
    	ctx   context.Context
    }
    
    // Send a payload to the remote server.
    func (s *Stream) Send(b []byte) error {
    	if s.Requests == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 07 15:51:52 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. internal/bpool/bpool.go

    	if capwidth <= 0 {
    		panic("total buffer capacity must be provided")
    	}
    	if capwidth < 64 {
    		panic("buffer capped with smaller than 64 bytes is not supported")
    	}
    	if width > capwidth {
    		panic("minimum buffer length cannot be > capacity of the buffer")
    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                final SmbTreeHandleImpl dh) throws CIFSException {
            if (dest == null) {
                throw new IllegalArgumentException("Destination cannot be null");
            }
            if (b == null || b.length == 0) {
                throw new IllegalArgumentException("Buffer array cannot be null or empty");
            }
            if (bsize <= 0) {
                throw new IllegalArgumentException("Buffer size must be positive");
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top