Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 810 for timings (0.12 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
        public static <T> List<T> toList(T[] things) {
            if (things == null || things.length == 0) {
                return new ArrayList<T>(0);
            }
    
            List<T> list = new ArrayList<T>(things.length);
            Collections.addAll(list, things);
            return list;
        }
    
        public static <T> Set<T> toSet(Iterable<? extends T> things) {
            if (things == null) {
                return new HashSet<T>(0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                  void container(Container container) {
                    container.things.create("a") { value = "1" }
                    container.things.create("b") { value = "2" }
                  }
    
                  @Model
                  void things(ModelMap<Thing> things) {
                    things.create("a") { value = "1" }
                    things.create("b") { value = "2" }
                  }
                }
    
                apply type: Rules
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/text/DefaultTextReportBuilderTest.groovy

            when:
            builder.heading("heading")
            builder.collection("Things", [], renderer, "things")
    
            then:
            output.value == """
    {header}------------------------------------------------------------
    heading
    ------------------------------------------------------------{normal}
    
    {header}Things
    ------{normal}
        No things.
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyResolutionEventsIntegrationTest.groovy

                    from configurations.things
                    into buildDir
                }
            """
    
            when:
            run "resolveIt"
    
            then:
            output.count("before :things") == 1
            output.count("after :things") == 1
        }
    
        @Issue("https://issues.gradle.org/browse/GRADLE-2047")
        def "can access resolved files from afterResolve hook"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java

        }
    
        /**
         * Recursively unpacks all the given things into a flat list.
         *
         * Nulls are not removed, they are left intact.
         *
         * @param things The things to flatten
         * @return A flattened list of the given things
         */
        public static List<?> flattenCollections(Object... things) {
            return flattenCollections(Object.class, things);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. test/gcstring.go

    	
    	for i := 0; i < 10000; i++ {
    		s := string(buf)
    		t := &T{ptr: new(*int)}
    		runtime.SetFinalizer(t.ptr, func(**int) { panic("*int freed too early") })
    		Ts = append(Ts, t)
    		things = append(things, s[len(s):])
    	}
    	
    	things = append(things, Ts...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 872 bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

      - child 1.
    Some other things.
      - child 1.
      - child 2.""")
        }
    
        def "formats node with trailing ':'"() {
            when:
            formatter.node("Some things:")
            formatter.startChildren()
            formatter.node("child 1.")
            formatter.endChildren()
            formatter.node("Some other things:")
            formatter.startChildren()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. src/go/doc/comment/testdata/linklist3.txt

    {"DocLinkBaseURL": "https://pkg.go.dev"}
    -- input --
    Cool things:
    
      - Foo
      - [Go]
      - Bar
    
    [Go]: https://go.dev/
    -- text --
    Cool things:
    
      - Foo
      - Go
      - Bar
    
    [Go]: https://go.dev/
    -- markdown --
    Cool things:
    
      - Foo
      - [Go](https://go.dev/)
      - Bar
    
    -- html --
    <p>Cool things:
    <ul>
    <li>Foo
    <li><a href="https://go.dev/">Go</a>
    <li>Bar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 21:57:02 UTC 2022
    - 349 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     annotation type, rather than an interface
       */
      <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/http-basic-auth.md

        # Return some error
        ...
    ```
    
    But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks".
    
    ### Timing Attacks
    
    But what's a "timing attack"?
    
    Let's imagine some attackers are trying to guess the username and password.
    
    And they send a request with a username `johndoe` and a password `love123`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 14:33:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top