Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 31 for recorded (0.06 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null);
    
      /**
       * Records an exception so that it can be rethrown later in the test harness thread, triggering a
       * test case failure. Only the first failure is recorded; subsequent calls to this method from
       * within the same test have no effect.
       */
      public void threadRecordFailure(Throwable t) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        }
    
        def "#member change should not be reported"() {
            expect:
            noViolation(rule)
    
            where:
            member << [Mock(JApiMethod), Mock(JApiField), Mock(JApiImplementedInterface), Mock(JApiConstructor)]
        }
    
        def "nothing should be reported if no changes"() {
            expect:
            noViolation(rule)
        }
    
        def "nothing should be reported if new interface is neither internal nor incubating"() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. doc/godebug.md

    (Older toolchains ignore `//go:debug` directives entirely.)
    
    The defaults that will be compiled into a main package
    are reported by the command:
    
    {{raw `
    	go list -f '{{.DefaultGODEBUG}}' my/main/package
    `}}
    
    Only differences from the base Go toolchain defaults are reported.
    
    When testing a package, `//go:debug` lines in the `*_test.go`
    files are treated as directives for the test's main package.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

            JApiCompatibilityChangeType.METHOD_REMOVED_IN_SUPERCLASS, // the removal of the method will be reported
            JApiCompatibilityChangeType.INTERFACE_REMOVED,            // the removed methods will be reported
            JApiCompatibilityChangeType.INTERFACE_ADDED               // the added methods will be reported
        );
    
        private static final Set<JApiCompatibilityChangeType> ANNOTATION_RELATED_CHANGES = Set.of(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

            }
    
            Optional<CtClass> oldClass = member.oldClass
            Optional<CtClass> newClass = member.newClass
            if (!oldClass.isPresent() || !newClass.isPresent()) {
                // breaking change would be reported
                return null
            }
    
            return checkSuperClassChanges(member, oldClass.get(), newClass.get())
        }
    
        protected abstract boolean changed(JApiCompatibility member)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

            classes['NewSub'].superclass = classes['NewBase']
    
            apiClass.compatibilityChanges >> [new JApiCompatibilityChange(JApiCompatibilityChangeType.METHOD_REMOVED_IN_SUPERCLASS)]
        }
    
        def "method removal can be reported if current class is first public class"() {
            given:
            apiClass.oldClass >> Optional.of(classes['OldBase'])
            apiClass.newClass >> Optional.of(classes['NewBase'])
    
            when:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

                current = classesContainingMethod.get(i)
                if (!isInternal(current)) {
                    // there's another public super class which contains target method
                    // it would be reported somewhere else
                    return false
                }
            }
    
            // I'm the top public class which contains target method
            return true
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(segment.writeQueue).hasSize(1);
    
        segment.recordRead(entry, ticker.read());
        segment.expireEntries(ticker.read());
        assertThat(map.get(key)).isSameInstanceAs(value);
        assertThat(segment.writeQueue.peek()).isSameInstanceAs(entry);
        assertThat(segment.writeQueue).hasSize(1);
    
        ticker.advance(1);
        segment.recordRead(entry, ticker.read());
        segment.expireEntries(ticker.read());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(segment.writeQueue).hasSize(1);
    
        segment.recordRead(entry, ticker.read());
        segment.expireEntries(ticker.read());
        assertThat(map.get(key)).isSameInstanceAs(value);
        assertThat(segment.writeQueue.peek()).isSameInstanceAs(entry);
        assertThat(segment.writeQueue).hasSize(1);
    
        ticker.advance(1);
        segment.recordRead(entry, ticker.read());
        segment.expireEntries(ticker.read());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_sql_databases/test_tutorial001.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            mod = importlib.import_module(f"docs_src.sql_databases.{request.param}")
            clear_sqlmodel()
            importlib.reload(mod)
        mod.sqlite_url = "sqlite://"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top