Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,173 for numer (0.01 sec)

  1. cmd/erasure-heal_test.go

    package cmd
    
    import (
    	"bytes"
    	"crypto/rand"
    	"io"
    	"os"
    	"testing"
    )
    
    var erasureHealTests = []struct {
    	dataBlocks, disks int
    
    	// number of offline disks is also number of staleDisks for
    	// erasure reconstruction in this test
    	offDisks int
    
    	// bad disks are online disks which return errors
    	badDisks, badStaleDisks int
    
    	blocksize, size int64
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Map<String, Integer> map = new HashMap<>();
        map.put("One", 1);
        map.put("Three", 3);
        Number number = Double.valueOf(42);
        Function<String, Number> function = Functions.forMap(map, number);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(number, function.apply("Two"));
        assertEquals(3L, function.apply("Three").longValue());
      }
    
      public void testComposition() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertEquals(3, response.getDfsResponse().getNumReferrals());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 2, 5, 10 })
            @DisplayName("Should handle varying number of referrals")
            void testReadDataWireFormatVaryingReferrals(int numReferrals) {
                byte[] buffer = createDfsReferralBufferWithMultipleReferrals(numReferrals);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    		}
    	}
    	return nil
    }
    
    // SetPoolIndex sets a specific pool number to this node
    func (endpoint *Endpoint) SetPoolIndex(i int) {
    	endpoint.PoolIdx = i
    }
    
    // SetSetIndex sets a specific set number to this node
    func (endpoint *Endpoint) SetSetIndex(i int) {
    	endpoint.SetIdx = i
    }
    
    // SetDiskIndex sets a specific disk number to this node
    func (endpoint *Endpoint) SetDiskIndex(i int) {
    	endpoint.DiskIdx = i
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

        /** Context ID for RDMA transform capabilities */
        public static final int CONTEXT_ID = Smb2Constants.SMB2_RDMA_TRANSFORM_CAPABILITIES;
    
        // Transform count and reserved fields
        private int transformCount = 1; // Number of transforms (always 1 for SMBDirect)
        private int reserved1 = 0;
        private int reserved2 = 0;
    
        // SMB_DIRECT_RDMA_TRANSFORM_V1
        private int rdmaTransformId = 0x0001; // SMB_DIRECT_RDMA_TRANSFORM_V1
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/addr2line/addr2line_test.go

    	pathAndLineNo := f[1]
    	f = strings.Split(pathAndLineNo, ":")
    	if runtime.GOOS == "windows" && len(f) == 3 {
    		// Reattach drive letter.
    		f = []string{f[0] + ":" + f[1], f[2]}
    	}
    	if len(f) != 2 {
    		t.Fatalf("no line number found in %q", pathAndLineNo)
    	}
    	return funcname, f[0], f[1]
    }
    
    const symName = "cmd/addr2line.TestAddr2Line"
    
    func testAddr2Line(t *testing.T, dbgExePath, addr string) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java

    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Write AndX Response message.
     *
     * This response contains information about the write operation,
     * including the number of bytes actually written.
     */
    public class SmbComWriteAndXResponse extends AndXServerMessageBlock {
    
        private long count;
    
        /**
         * Constructs a write response for SMB1 protocol.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                return value;
            }
        }
    
        /**
         * Represents a combination in the version item list.
         * It is usually a combination of a string and a number, with the string first and the number second.
         */
        private static class CombinationItem implements Item {
    
            StringItem stringPart;
    
            Item digitPart;
    
            CombinationItem(String value) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.join(1000);
    
            assertEquals("All lines should be processed", 5000, receivedLines.size());
            assertEquals("First line", "Line number 0", receivedLines.get(0));
            assertEquals("Last line", "Line number 4999", receivedLines.get(4999));
        }
    
        public void test_run_concurrentAccess() throws InterruptedException {
            String input = "concurrent1\nconcurrent2\nconcurrent3";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Hexdump.java

        /**
         * Converts a byte array to a hexadecimal string representation.
         *
         * @param src the source byte array to convert
         * @param srcIndex the starting index in the source array
         * @param size the number of bytes to convert from the source array
         * @return a hexadecimal string representation of the byte array
         */
        public static String toHexString(final byte[] src, final int srcIndex, final int size) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top