Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,232 for Unexpected (0.09 sec)

  1. cmd/bitrot-streaming.go

    	if len(p) == 0 {
    		return 0, nil
    	}
    	if b.finished {
    		return 0, errors.New("bitrot write not allowed")
    	}
    	if int64(len(p)) > b.shardSize {
    		return 0, errors.New("unexpected bitrot buffer size")
    	}
    	if int64(len(p)) < b.shardSize {
    		b.finished = true
    	}
    	b.h.Reset()
    	b.h.Write(p)
    	hashBytes := b.h.Sum(nil)
    	_, err := b.iow.Write(hashBytes)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

          }
    
        /** Add an header line containing a field name, a literal colon, and a value. */
        fun add(line: String) =
          apply {
            val index = line.indexOf(':')
            require(index != -1) { "Unexpected header: $line" }
            add(line.substring(0, index).trim(), line.substring(index + 1))
          }
    
        /**
         * Add a header with the specified name and value. Does validation of header names and values.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. docs/sts/web-identity.go

    		Transport: http.DefaultTransport,
    	}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return d, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return d, fmt.Errorf("unexpected error returned by %s : status(%s)", ustr, resp.Status)
    	}
    	dec := json.NewDecoder(resp.Body)
    	if err = dec.Decode(&d); err != nil {
    		return d, err
    	}
    	return d, nil
    }
    
    func init() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @param response the response object to populate
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doRecv(Response response) throws IOException;
    
        /**
         * Skips an unexpected or unrecognized message.
         *
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSkip() throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. tests/prepared_stmt_test.go

    			break
    		}
    	}(user.ID)
    
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		<-writerFinish
    		pdb.Close()
    	}()
    
    	wg.Wait()
    
    	if unexpectedError {
    		t.Fatalf("should is a unexpected error")
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
        }
      }
    
      public static void assertContentsInOrder(Iterable<?> actual, Object... expected) {
        assertEqualInOrder(asList(expected), actual);
      }
    
      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * to the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
     * the behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

              object : ResponseBody() {
                override fun contentType(): MediaType? = null
    
                override fun contentLength(): Long = -1L
    
                override fun source(): BufferedSource = error("unexpected call")
              },
            ).trailers(
              object : TrailersSource {
                override fun get(): Headers = headersOf("t1", "v1")
              },
            ).build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

       */
      fun newClient(): OkHttpClient {
        var client = testClient
        if (client == null) {
          client =
            initialClientBuilder()
              .dns(SINGLE_INET_ADDRESS_DNS) // Prevent unexpected fallback addresses.
              .eventListenerFactory { ClientRuleEventListener(logger = ::addEvent) }
              .build()
          connectionListener.forbidLock(RealConnectionPool.get(client.connectionPool))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

        public void testEqualsAndHashCode() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            Set<Integer> expected = new HashSet<>();
            for (Integer i : contents) {
              if (EVEN.apply(i)) {
                expected.add(i);
              }
            }
            new EqualsTester()
                .addEqualityGroup(expected, filter(createUnfiltered(contents), EVEN))
                .testEquals();
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top