Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 869 for effect (0.05 sec)

  1. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.List;
    import junit.framework.TestCase;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/RequestParamTest.java

        interface EnumConsumer {
            void accept(RequestParam rp);
        }
    
        @Mock
        EnumConsumer consumer;
    
        @Test
        @DisplayName("Enum value can be passed to collaborators without side effects")
        void enumUsedWithCollaboratorHasNoSideEffects() {
            // Arrange: pick a value and a mocked consumer
            RequestParam rp = RequestParam.NO_RETRY;
    
            // Act: pass to the collaborator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. schema/utils.go

    	}
    	return reflect.StructTag(fmt.Sprintf(`gorm:"%s;%s"`, value, t))
    }
    
    // GetRelationsValues get relations's values from a reflect value
    func GetRelationsValues(ctx context.Context, reflectValue reflect.Value, rels []*Relationship) (reflectResults reflect.Value) {
    	for _, rel := range rels {
    		reflectResults = reflect.MakeSlice(reflect.SliceOf(reflect.PointerTo(rel.FieldSchema.ModelType)), 0, 1)
    
    		appendToResults := func(value reflect.Value) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            try {
                final java.lang.reflect.Method method = FessWebResourceRoot.class.getDeclaredMethod("processWebInfLib");
                assertNotNull("processWebInfLib method should exist", method);
                assertTrue("processWebInfLib should be protected", java.lang.reflect.Modifier.isProtected(method.getModifiers()));
            } catch (final NoSuchMethodException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LineBufferTest.java

      }
    
      private static final ImmutableSet<Integer> CHUNK_SIZES =
          ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE);
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
        List<String> expectProcess = Arrays.asList(expect);
        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/LineBufferTest.java

      }
    
      private static final ImmutableSet<Integer> CHUNK_SIZES =
          ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE);
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
        List<String> expectProcess = Arrays.asList(expect);
        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. association.go

    				switch reflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < reflectValue.Len(); i++ {
    						association.Error = rel.Field.Set(association.DB.Statement.Context, reflectValue.Index(i), reflect.Zero(rel.Field.FieldType).Interface())
    					}
    				case reflect.Struct:
    					association.Error = rel.Field.Set(association.DB.Statement.Context, reflectValue, reflect.Zero(rel.Field.FieldType).Interface())
    				}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. cmd/server-startup-msg_test.go

    	newAPIEndpoints := stripStandardPorts(apiEndpoints, "")
    
    	if !reflect.DeepEqual(expectedAPIEndpoints, newAPIEndpoints) {
    		t.Fatalf("Expected %#v, got %#v", expectedAPIEndpoints, newAPIEndpoints)
    	}
    
    	apiEndpoints = []string{"http://%%%%%:9000"}
    	newAPIEndpoints = stripStandardPorts(apiEndpoints, "")
    	if !reflect.DeepEqual(apiEndpoints, newAPIEndpoints) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                    throw new IllegalStateException(String.format("Wrong size calculation have %d expect %d", exp, actual));
                }
    
                return calculatedLength;
            }
    
            private void setLength(int length) {
                try {
                    // Use reflection to set the protected length field
                    java.lang.reflect.Field lengthField = ServerMessageBlock2.class.getDeclaredField("length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertEquals(123, newParams.get("key2"));
    
            // Verify that modifications to new instance don't affect original
            newParams.put("key3", "value3");
            assertTrue(newParams.containsKey("key3"));
            assertFalse(dataStoreParams.containsKey("key3"));
    
            // Verify that modifications to original don't affect new instance
            dataStoreParams.put("key4", "value4");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top