Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 129 for Recursive (0.08 sec)

  1. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *   }
     * }.visit(type);
     * }</pre>
     *
     * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's
     * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds.
     *
     * <p>This class is not thread safe.
     *
     * @author Ben Yu
     */
    @ElementTypesAreNonnullByDefault
    abstract class TypeVisitor {
    
      private final Set<Type> visited = Sets.newHashSet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 16 21:10:04 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. internal/bucket/replication/destination.go

    	}
    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // UnmarshalXML - decodes XML data.
    func (d *Destination) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type destination Destination
    	dest := destination{}
    
    	if err := dec.DecodeElement(&dest, &start); err != nil {
    		return err
    	}
    	parsedDest, err := parseDestination(dest.Bucket)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule_test.go

    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			if got := cfg.Rules[0].MetadataReplicate(tc.opts); got != tc.expectedResult {
    				t.Fatalf("Expected result with recursive set to false: `%v`, got: `%v`", tc.expectedResult, got)
    			}
    		})
    
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. internal/config/policy/plugin/config.go

    	if err != nil {
    		return err
    	}
    	defer a.CloseRespFn(resp.Body)
    
    	return nil
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (a *Args) UnmarshalJSON(data []byte) error {
    	// subtype to avoid recursive call to UnmarshalJSON()
    	type subArgs Args
    	var so subArgs
    
    	if err := json.Unmarshal(data, &so); err != nil {
    		return err
    	}
    
    	oa := Args(so)
    	if oa.URL == nil || oa.URL.String() == "" {
    		*a = oa
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

            println("Missing test class: $cnfe")
            null
          }
        }
    }
    
    /**
     * Builds a Junit Test Plan request for a fixed set of classes, or potentially a recursive package.
     */
    fun buildRequest(selectors: List<DiscoverySelector>): LauncherDiscoveryRequest {
      val request: LauncherDiscoveryRequest =
        LauncherDiscoveryRequestBuilder.request()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    // deleteFile deletes a file or a directory if its empty unless recursive
    // is set to true. If the target is successfully deleted, it will recursively
    // move up the tree, deleting empty parent directories until it finds one
    // with files in it. Returns nil for a non-empty directory even when
    // recursive is set to false.
    func (s *xlStorage) deleteFile(basePath, deletePath string, recursive, immediate bool) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.offline().orElse(false)) {
                cmdAndArguments.add("--offline");
            }
            if (mavenOptions.nonRecursive().orElse(false)) {
                cmdAndArguments.add("--non-recursive");
            }
            if (mavenOptions.updateSnapshots().orElse(false)) {
                cmdAndArguments.add("--update-snapshots");
            }
            if (mavenOptions.activatedProfiles().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/lex_test.go

    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#define A() A()\nA()",
    		"recursive macro invocation",
    	},
    	{
    		"#define A a\n#define A a\n",
    		"redefinition of macro",
    	},
    	{
    		"#define A a",
    		"no newline after macro definition",
    	},
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    			IsTruncated: false,
    			Objects:     []ObjectInfo{},
    		},
    		// ListObjectsResult-31 Empty directory, recursive listing
    		31: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "obj1"},
    				{Name: "obj2"},
    				{Name: "temporary/0/"},
    			},
    		},
    		// ListObjectsResult-32 Empty directory, non recursive listing
    		32: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "obj1"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top