Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 610 for skip1 (0.09 sec)

  1. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          )
    
        assertFailsWith<ProtocolException> {
          parts.nextPart()
        }.also { expected ->
          assertThat(expected).hasMessage("expected at least 1 part")
        }
      }
    
      @Test fun `skip preamble`() {
        val multipart =
          """
          |this is the preamble! it is invisible to application code
          |
          |--simple boundary
          |
          |abcd
          |--simple boundary--
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CountingInputStream.java

        int result = in.read(b, off, len);
        if (result != -1) {
          count += result;
        }
        return result;
      }
    
      @Override
      public long skip(long n) throws IOException {
        long result = in.skip(n);
        count += result;
        return result;
      }
    
      @Override
      public synchronized void mark(int readlimit) {
        in.mark(readlimit);
        mark = count;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/TestInputStream.java

        throwIf(closed);
        throwIf(READ_THROWS);
        return in.read(b, off, len);
      }
    
      @Override
      public long skip(long n) throws IOException {
        throwIf(closed);
        throwIf(SKIP_THROWS);
        return in.skip(n);
      }
    
      @Override
      public int available() throws IOException {
        throwIf(closed);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

            .build(),
        )
        server.enqueue(MockResponse())
        assertFailsWith<SSLPeerUnverifiedException> {
          execute(url)
        }
      }
    
      /**
       * Skips coalescing when hostname verifier is overridden since the intention of the hostname
       * verification is a black box.
       */
      @Test
      fun skipsWhenHostnameVerifierUsed() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/storage-rest-common_gen.go

    				if z.Cache == nil {
    					z.Cache = new(dataUsageCache)
    				}
    				err = z.Cache.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Cache")
    					return
    				}
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *nsScannerOptions) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteStreams.java

              // is smaller.
              buf = new byte[skip];
            }
            if ((skipped = in.read(buf, 0, skip)) == -1) {
              // Reached EOF
              break;
            }
          }
    
          totalSkipped += skipped;
        }
    
        return totalSkipped;
      }
    
      /**
       * Attempts to skip up to {@code n} bytes from the given input stream, but not more than {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	skip := func(oi ObjectInfo) (ok bool) {
    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan.D() {
    			// skip all objects that are newer than specified older duration
    			return true
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan.D() {
    			// skip all objects that are older than specified newer duration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    		expectedResult bool
    	}{
    		// Test case - 1.
    		// Test case with "X-Amz-Content-Sha256" header set, but to empty value but we can't skip.
    		{"X-Amz-Content-Sha256", "", "", "", false},
    
    		// Test case - 2.
    		// Test case with "X-Amz-Content-Sha256" not set so we can skip.
    		{"", "", "", "", true},
    
    		// Test case - 3.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/batch-rotate.go

    		if r.Flags.Filter.OlderThan > 0 && time.Since(info.ModTime) < r.Flags.Filter.OlderThan {
    			// skip all objects that are newer than specified older duration
    			return false
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(info.ModTime) >= r.Flags.Filter.NewerThan {
    			// skip all objects that are older than specified newer duration
    			return false
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. guava-tests/pom.xml

              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.8.2</version>
            <configuration>
              <skip>true</skip>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>animal-sniffer-maven-plugin</artifactId>
            <configuration>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top