Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 675 for 1001 (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            assertEquals(testAddress, info.getAddress());
            assertEquals(1000, info.getLinkSpeed());
            assertFalse(info.isIpv6());
            assertEquals(0, info.getCapability());
        }
    
        @Test
        void testIPv6Constructor() throws UnknownHostException {
            InetAddress ipv6Address = InetAddress.getByName("2001:db8::1");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            Trans2QueryFSInformationResponse.SmbInfoAllocation info = response.new SmbInfoAllocation();
            info.alloc = 1000;
            info.free = 500;
            info.sectPerAlloc = 100;
            info.bytesPerSect = 512;
    
            String infoString = info.toString();
            assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc");
            assertTrue(infoString.contains("free=500"), "toString should contain free");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. src/bufio/scan_test.go

    		if j < smallMaxTokenSize {
    			j++
    		} else {
    			j--
    		}
    		line := tmp.String() // We use the string-valued token here, for variety.
    		if s.Text() != line {
    			t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Text(), line)
    		}
    	}
    	err := s.Err()
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Test that the line splitter errors out on a long line.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  4. cmd/storage-datatypes_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    		Free:      1000,
    		Used:      1000,
    		FSType:    "xfs",
    		RootDisk:  true,
    		Healing:   true,
    		Endpoint:  "http://localhost:9001/tmp/drive1",
    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/DocListTest.java

        public void test_addContentSize_negative() {
            DocList docList = new DocList();
    
            docList.addContentSize(100);
            assertEquals(100, docList.getContentSize());
    
            docList.addContentSize(-30);
            assertEquals(70, docList.getContentSize());
    
            docList.addContentSize(-100);
            assertEquals(-30, docList.getContentSize());
        }
    
        @Test
        public void test_addProcessingTime_negative() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

        /** The username for file authentication (required, maximum 100 characters). */
        @Required
        @Size(max = 100)
        public String username;
    
        /** The password for file authentication (maximum 100 characters). */
        @Size(max = 100)
        public String password;
    
        /** Additional parameters for file authentication (maximum 1000 characters). */
        @Size(max = 1000)
        public String parameters;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/CreateForm.java

        /** Token (word) to be added to the dictionary */
        @Required
        @Size(max = 1000)
        public String token;
    
        /** Segmentation information for the token */
        @Required
        @Size(max = 1000)
        public String segmentation;
    
        /** Reading (pronunciation) of the token in katakana */
        @Required
        @Size(max = 1000)
        public String reading;
    
        /** Part of speech tag for the token */
        @Required
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            encrypted = false;
            value = System.currentTimeMillis() / 1000 + "\nrole1";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(1, roleSet.size());
            assertTrue(roleSet.contains("role1"));
    
            encrypted = false;
            value = System.currentTimeMillis() / 1000 + "\nrole1,role2";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java

        public Integer crudMode;
    
        /**
         * The regular expression pattern to match request paths.
         */
        @Required
        @Size(max = 1000)
        public String regex;
    
        /**
         * The replacement pattern for matched paths.
         */
        @Size(max = 1000)
        public String replacement;
    
        /**
         * The processing type for path mapping.
         */
        @Required
        public String processType;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/AllocInfoTest.java

                TestAllocInfo allocInfo = new TestAllocInfo(1000L, 250L);
    
                // When - calculate percentage free
                double percentFree = (allocInfo.getFree() * 100.0) / allocInfo.getCapacity();
    
                // Then
                assertEquals(25.0, percentFree, 0.001);
            }
    
            @Test
            @DisplayName("Should support available space check pattern")
            void shouldSupportAvailableSpaceCheckPattern() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top