Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 268 for setters (0.12 seconds)

  1. internal/arn/arn.go

    type ARN struct {
    	Partition    string
    	Service      string
    	Region       string
    	ResourceType string
    	ResourceID   string
    }
    
    // Allows english letters, numbers, '.', '-', '_' and '/'. Starts with a
    // letter or digit. At least 1 character long.
    var validResourceIDRegex = regexp.MustCompile(`[A-Za-z0-9_/\.-]+$`)
    
    // NewIAMRoleARN - returns an ARN for a role in MinIO.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. schema/field.go

    					field.ReflectValueOf(ctx, value).Set(reflectV.Elem())
    					return
    				} else {
    					err = setter(ctx, value, reflectV.Elem().Interface())
    				}
    			} else if valuer, ok := v.(driver.Valuer); ok {
    				if v, err = valuer.Value(); err == nil {
    					err = setter(ctx, value, v)
    				}
    			} else if _, ok := v.(clause.Expr); !ok {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            // Verify that the object was created
            assertNotNull(pacString, "The PacUnicodeString object should not be null.");
    
            // Verify that the getters return the correct values
            assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertEquals("${temp}/file", generator.expandPath("${temp}/file")); // No partial replacement
        }
    
        @Test
        public void test_directoryNameLength() {
            // Test directoryNameLength setter
            generator = new TestThumbnailGenerator();
    
            // Default value
            assertEquals(5, generator.directoryNameLength);
    
            // Set new value
            generator.setDirectoryNameLength(10);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

                // The order here is important! tokens are inserted by the transformer
                Map<String, Object> parameters = new HashMap<>();
                // NOTE: These parameter names _must_ match the setter names in ReleaseNotesTransformer
                parameters.put("baseCss", getBaseCssFile().get().getAsFile());
                parameters.put("releaseNotesCss", getReleaseNotesCssFile().get().getAsFile());
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:08:23 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

    /**
     * Tests for the {@link AllocInfo} interface.
     * Since {@code AllocInfo} only declares getters, the tests focus on
     * verifying that implementations honour the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class AllocInfoTest {
    
        @Mock
        AllocInfo mockAllocInfo;
    
        /**
         * Happy path – verifies that getters return the values supplied by the
         * implementation.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/header-params.md

    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar.
    
    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

                    Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values
            );
        }
    
        // --- Mockito interaction: verify each getter is invoked and returns stubbed values ---
        @Test
        void mockitoMock_verifiesGetterInteractions() {
            // Arrange: mock and stub each getter with distinct values
            SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class);
            Mockito.when(mock.getAttributes()).thenReturn(7);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            String title = Character.toTitleCase(propertyName.charAt(0)) + propertyName.substring(1);
    
            // Try setter first
            MethodInfo setter = classMethodCache.get("set" + title);
            if (setter != null && isMethodCompatible(setter.method, valueType)) {
                return setter;
            }
    
            // Try adder
            MethodInfo adder = classMethodCache.get("add" + title);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            if (message != null && !message.isEmpty()) {
                assertTrue(ts.contains(message), "toString should include non-empty message");
            }
    
            // Ensure constructors/getters don't interact with the cause
            verifyNoInteractions(mockCause);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top