Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2111 - 2120 of 4,456 for override1 (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

          client.newCall(
            Request(
              url = server.url("/"),
              body =
                object : RequestBody() {
                  override fun contentType(): MediaType? = null
    
                  @Throws(
                    IOException::class,
                  )
                  override fun writeTo(sink: BufferedSink) {
                    for (i in 0..9) {
                      sink.writeByte(0)
                      sink.flush()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         */
        @Override
        protected Smb2NegotiateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2NegotiateResponse> req) {
            return new Smb2NegotiateResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/Builders.kt

            structure.projectBaseDirs.add(projectDir)
            settings.project(":$projectName").projectDir = projectDir
        }
    }
    
    class ElementId(val id: String) : Serializable {
        override fun toString(): String {
            return id
        }
    }
    
    sealed class ArchitectureElement(
        val name: String,
        val id: ElementId
    ) : Serializable
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/LegacyComparable.java

      LegacyComparable(String value) {
        this.value = value;
      }
    
      @Override
      public int compareTo(Object object) {
        // This method is spec'd to throw CCE if object is of the wrong type
        LegacyComparable that = (LegacyComparable) object;
        return this.value.compareTo(that.value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof LegacyComparable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

     */
    public class SmbFileFilterTest {
    
        /**
         * A minimal implementation that accepts every {@link SmbFile}.
         */
        private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() {
            @Override
            public boolean accept(SmbFile file) throws SmbException {
                // Never inspect the file – simply accept.
                return true;
            }
        };
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public String getVersion() {
            return version;
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = (beg_idx + 1) % pipe_buf.length;
            }
            return result;
        }
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        @Override
        public int read(final byte[] b, int off, final int len) throws IOException {
            int result = -1;
            int i;
    
            if (len <= 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
            }
    
            override fun timeout(): Timeout = Timeout.NONE
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

      )
      fun charset(): Charset = charset
    
      override fun equals(other: Any?): Boolean =
        other is Challenge &&
          other.scheme == scheme &&
          other.authParams == authParams
    
      override fun hashCode(): Int {
        var result = 29
        result = 31 * result + scheme.hashCode()
        result = 31 * result + authParams.hashCode()
        return result
      }
    
      override fun toString(): String = "$scheme authParams=$authParams"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 15:01:35 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

        TestSuite suite = new TestSuite();
        suite.addTestSuite(SafeTreeMapTest.class);
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top