Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,626 for lengths (0.06 sec)

  1. guava-tests/test/com/google/common/primitives/BytesTest.java

      private static void testReverse(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. internal/rest/client.go

    	u.Path = path.Join(u.Path, rpcMethod)
    	u.RawQuery = values.Encode()
    
    	req, err := c.newRequest(ctx, httpMethod, u, body)
    	if err != nil {
    		return nil, &NetworkError{Err: err}
    	}
    	if length > 0 {
    		req.ContentLength = length
    	}
    
    	_, expectTimeouts := ctx.Deadline()
    
    	req, update := setupReqStatsUpdate(req)
    	defer update()
    
    	resp, err := c.httpClient.Do(req)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

        private static Class<?>[] toClassArray(final Object... methodArgs) {
            if (methodArgs == null) {
                return null;
            }
            final Class<?>[] result = new Class[methodArgs.length];
            for (int i = 0; i < methodArgs.length; ++i) {
                if (methodArgs[i] != null) {
                    result[i] = methodArgs[i].getClass();
                }
            }
            return result;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            }
    
            request.getParameterMap().entrySet().stream().forEach(entry -> {
                if (entry.getValue().length > 1) {
                    curlRequest.param(entry.getKey(), String.join(",", entry.getValue()));
                } else if (entry.getValue().length == 1) {
                    curlRequest.param(entry.getKey(), entry.getValue()[0]);
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            } else {
                entry = vertex;
            }
    
            MetadataTreeNode[] kids = node.getChildren();
            if (kids == null || kids.length < 1) {
                return;
            }
    
            for (int i = 0; i < kids.length; i++) {
                MetadataTreeNode n = kids[i];
                processTreeNodes(vertex, n, depth + 1, i);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        public final SID getOwnerUserSid () {
            return this.ownerUserSid;
        }
    
    
        /**
         * 
         * @param buffer
         * @param bufferIndex
         * @param len
         * @return decoded data length
         * @throws SMBProtocolDecodingException
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         */
        public final SmbResource getParent () {
            return this.parent;
        }
    
    
        private final boolean filter ( FileEntry fe ) {
            String name = fe.getName();
            if ( name.length() < 3 ) {
                int h = name.hashCode();
                if ( h == SmbFile.HASH_DOT || h == SmbFile.HASH_DOT_DOT ) {
                    if ( name.equals(".") || name.equals("..") )
                        return false;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  8. internal/s3select/select_benchmark_test.go

    	"time"
    
    	humanize "github.com/dustin/go-humanize"
    )
    
    const charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
    
    func newRandString(length int) string {
    	randSrc := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	b := make([]byte, length)
    	for i := range b {
    		b[i] = charset[randSrc.Intn(len(charset))]
    	}
    	return string(b)
    }
    
    func genSampleCSVData(count int) []byte {
    	buf := &bytes.Buffer{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 14 13:54:47 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetOperationsTest.java

            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        checkArgument(elements.length == 1);
                        return Sets.union(Sets.<String>newHashSet(elements), newHashSet(elements));
                      }
                    })
                .named("singleton U itself")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

          return super.writeReplace();
        }
      }
    
      @WeakOuter
      private final class RowMap extends ImmutableArrayMap<R, ImmutableMap<C, V>> {
        private RowMap() {
          super(rowCounts.length);
        }
    
        @Override
        ImmutableMap<R, Integer> keyToIndex() {
          return rowKeyToIndex;
        }
    
        @Override
        ImmutableMap<C, V> getValue(int keyIndex) {
          return new Row(keyIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top