Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2531 - 2540 of 5,086 for Strings (0.11 sec)

  1. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
            assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr));
            assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt));
        }
    
        @Test
        @DisplayName("Unknown DOS error code yields empty Optional")
        void testUnknownCode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. cmd/data-usage-cache_test.go

    	tests := []struct {
    		sizes []int64
    		want  map[string]uint64
    	}{
    		{
    			sizes: []int64{100, 1000, 72_000, 100_000},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. cmd/data-usage-utils.go

    			Description:    getClusterTransitionedBytesMD(),
    			Value:          float64(st.TotalSize),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedObjectsMD(),
    			Value:          float64(st.NumObjects),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedVersionsMD(),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create buffer with simple path and referral level")
            void testConstructorWithSimplePath() {
                String path = "\\\\server\\share";
                int maxReferralLevel = 3;
    
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                assertNotNull(buffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        // Helper class for testing with concrete NetbiosName implementation
        private class TestNetbiosName implements NetbiosName {
            private final String name;
            private final int type;
            private final String scope;
    
            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
            String expectedUserName = "testUser";
            when(mockPrincipal.getName()).thenReturn(expectedUserName);
    
            // Act: Call the method under test
            String actualUserName = ntlmRequest.getRemoteUser();
    
            // Assert: Verify that the returned user name is the expected one
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

         */
        static class ExtendedPluginDescriptor extends PluginDescriptor {
    
            private final String additionalField;
    
            ExtendedPluginDescriptor(Builder builder) {
                super(builder);
                this.additionalField = builder.additionalField;
            }
    
            public String getAdditionalField() {
                return additionalField;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

          .build();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Map<String, String>> mapJsonAdapter = moshi.adapter(
          Types.newParameterizedType(Map.class, String.class, String.class));
    
      public void run() throws Exception {
        Map<String, String> requestBody = new LinkedHashMap<>();
        requestBody.put("longUrl", "https://publicobject.com/2014/12/04/html-formatting-javadocs/");
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

        private static final long serialVersionUID = -3701473506893554853L;
    
        /** Name of the argument that is {@code null} */
        protected final String argName;
    
        /** Message code */
        protected final String messageCode;
    
        /** Arguments for the message */
        protected final Object[] args;
    
        /**
         * Creates a {@link ClIllegalArgumentException}.
         *
         * @param argName
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. callbacks/callbacks.go

    	"gorm.io/gorm"
    )
    
    var (
    	createClauses = []string{"INSERT", "VALUES", "ON CONFLICT"}
    	queryClauses  = []string{"SELECT", "FROM", "WHERE", "GROUP BY", "ORDER BY", "LIMIT", "FOR"}
    	updateClauses = []string{"UPDATE", "SET", "WHERE"}
    	deleteClauses = []string{"DELETE", "FROM", "WHERE"}
    )
    
    type Config struct {
    	LastInsertIDReversed bool
    	CreateClauses        []string
    	QueryClauses         []string
    	UpdateClauses        []string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top