Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 599 for ordinal (0.05 sec)

  1. cmd/erasure-coding.go

    }
    
    // ShardSize - returns actual shared size from erasure blockSize.
    func (e *Erasure) ShardSize() int64 {
    	return ceilFrac(e.blockSize, int64(e.dataBlocks))
    }
    
    // ShardFileSize - returns final erasure size from original size.
    func (e *Erasure) ShardFileSize(totalLength int64) int64 {
    	if totalLength == 0 {
    		return 0
    	}
    	if totalLength == -1 {
    		return -1
    	}
    	numShards := totalLength / e.blockSize
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

         */
        protected abstract List<Float> create(Float[] elements);
    
        @Override
        public Float[] createArray(int length) {
          return new Float[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Float> order(List<Float> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleFloats extends SampleElements<Float> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

         */
        protected abstract List<Float> create(Float[] elements);
    
        @Override
        public Float[] createArray(int length) {
          return new Float[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Float> order(List<Float> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleFloats extends SampleElements<Float> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

         */
        protected abstract List<Integer> create(Integer[] elements);
    
        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          return insertionOrder;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. cmd/erasure_test.go

    				t.Errorf("Test %d: failed to write data blocks: %v", i, err)
    			}
    			if !bytes.Equal(decodedData.Bytes(), data) {
    				t.Errorf("Test %d: Decoded data does not match original data: got: %v want: %v", i, decodedData.Bytes(), data)
    			}
    		}
    	}
    }
    
    // Setup for erasureCreateFile and erasureReadFile tests.
    type erasureTestSetup struct {
    	dataBlocks   int
    	parityBlocks int
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. docs/es/docs/how-to/custom-request-and-route.md

    Este método devuelve una función. Y esa función es la que recibirá un request y devolverá un response.
    
    Aquí lo usamos para crear un `GzipRequest` a partir del request original.
    
    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[18:26] *}
    
    /// note | Detalles técnicos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/bytes/reader.go

    // Len returns the number of bytes of the unread portion of the
    // slice.
    func (r *Reader) Len() int {
    	if r.i >= int64(len(r.s)) {
    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    // Size is the number of bytes available for reading via [Reader.ReadAt].
    // The result is unaffected by any method calls except [Reader.Reset].
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    + Create a topic branch from where you want to base your work (this is usually the master branch).
      Push your changes to a topic branch in your fork of the repository.
    + Make commits of logical units.
    + Respect the original code style: by using the same [codestyle][code-style],
      patches should only highlight the actual difference, not being disturbed by any formatting issues:
      + Only use spaces for indentation.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 09:55:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
       * UnsupportedOperationException."
       */
      abstract void setCountNoCheckReturnValue(E element, int count);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            decodedName.decode(decodeBuffer);
    
            // Verify the decoded data matches
            assertEquals(translatedName.sid_type, decodedName.sid_type);
            // The decode process doesn't preserve the original length, it reads from the buffer
            assertNotNull(decodedName.name);
            assertNotNull(decodedName.name.buffer);
            // Buffer length is based on maximum_length/2 from the encoded data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top