Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 139 for intentional (0.07 seconds)

  1. internal/s3select/jstream/scanner_test.go

    func newMockReader(failAfter int, data byte) *mockReader {
    	return &mockReader{0, data, failAfter}
    }
    
    func (r *mockReader) Read(p []byte) (n int, err error) {
    	if r.pos >= r.failAfter {
    		return 0, fmt.Errorf("intentionally unexpected reader error")
    	}
    	r.pos++
    	p[0] = r.mockData
    	return 1, nil
    }
    
    func TestScannerFailure(t *testing.T) {
    	var (
    		i         int
    		failAfter = 900
    		mockData  = byte(32)
    	)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. AI_POLICY.md

    ## What we expect from contributors
    
    1. **Understand the content you submit, PRs as well as issues, and be able to explain it.** Our goal is for humans to use AI tools intentionally and with full control, rather than merely serving as proxies for AI agents. If you cannot explain the reason for something, we will assume you do not understand it, and the PR or issue will likely be closed.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

     * An implementation of {@link DataOutput} that uses little-endian byte ordering for writing {@code
     * char}, {@code short}, {@code int}, {@code float}, {@code double}, and {@code long} values.
     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
     * DataOutput}, which explicitly requires big-endian byte order.
     *
     * @author Chris Nokleberg
     * @author Keith Bottner
     * @since 8.0
     */
    @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs

    org.eclipse.jdt.core.formatter.lineSplit=140
    org.eclipse.jdt.core.formatter.tabulation.char=space
    org.eclipse.jdt.core.formatter.tabulation.size=4
    
    # Silence warnings about references to jdk internals. We intentionally use some
    # and have much tighter control of the warnings in the forbidden APIs gradle
    # task which is the definitive list of allowed references.
    org.eclipse.jdt.core.compiler.problem.forbiddenReference=ignore
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            SmbBasicFileInfo info = null;
    
            // Act & Assert: attempting to call any method on null should throw NPE
            Assertions.assertThrows(NullPointerException.class, () -> {
                // Intentionally dereference null to validate exception behavior
                // This checks that callers must handle null references defensively
                info.getSize();
            });
        }
    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)
  6. android/guava/src/com/google/common/collect/AllEqualOrdering.java

    @GwtCompatible
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@Nullable Object left, @Nullable Object right) {
        return 0;
      }
    
      @Override
      public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AllEqualOrdering.java

    @GwtCompatible
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@Nullable Object left, @Nullable Object right) {
        return 0;
      }
    
      @Override
      public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. LICENSE

          "Contribution" shall mean any work of authorship, including
          the original version of the Work and any modifications or additions
          to that Work or Derivative Works thereof, that is intentionally
          submitted to Licensor for inclusion in the Work by the copyright owner
          or by an individual or Legal Entity authorized to submit on behalf of
          the copyright owner. For the purposes of this definition, "submitted"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue May 08 21:35:34 GMT 2018
    - 11.1K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        select("tr.severity-$severity").map { tr ->
            val entry = tr.select("td")[1]
            ReportMessage(
                entry.select("span")
                    .text().substringBefore(" If you did this intentionally"),
                entry.select("ul li")
                    .map { it.text() }
    
            )
        }
    
    
    internal
    data class ReportMessage(
        val message: String,
        val details: List<String>
    )
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

    /**
     * Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals.
     * This API does not try to cover all the requirements out there, just the basic ones, and is intentionally simple.
     * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should
     * probably roll its own.
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
Back to Top