Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for unexpected (0.07 sec)

  1. src/bufio/bufio_test.go

    	if err != nil {
    		t.Error("unexpected error on ReadRune (2):", err)
    	}
    	_, err = r.Read(buf)
    	if err != nil {
    		t.Error("unexpected error on Read (2):", err)
    	}
    	if r.UnreadRune() == nil {
    		t.Error("expected error after Read (2)")
    	}
    	// Test error after ReadByte.
    	_, _, err = r.ReadRune() // reset state
    	if err != nil {
    		t.Error("unexpected error on ReadRune (2):", err)
    	}
    	for range buf {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    	}
    	r, err := NewReader(bytes.NewReader(data), int64(len(data)))
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	for _, f := range r.File {
    		r, err := f.Open()
    		if err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    		if _, err := io.Copy(io.Discard, r); err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    	}
    }
    
    func TestBaseOffsetPlusOverflow(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                    if ( e.getException() instanceof SmbException ) {
                        throw (SmbException) e.getException();
                    }
                    throw new SmbException("Unexpected exception during context initialization", e);
                }
            }
            return ctx.initSecContext(token, 0, token == null ? 0 : token.length);
        }
    
    
        /**
         * @param trans
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          apply {
            val encoded =
              host.percentDecode().toCanonicalHost()
                ?: throw IllegalArgumentException("unexpected host: $host")
            this.host = encoded
          }
    
        fun port(port: Int) =
          apply {
            require(port in 1..65535) { "unexpected port: $port" }
            this.port = port
          }
    
        fun addPathSegment(pathSegment: String) =
          apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_3x.md

    ## Version 3.9.1
    
    _2017-11-18_
    
     *  New: Recover gracefully when Android's DNS crashes with an unexpected
        `NullPointerException`.
     *  New: Recover gracefully when Android's socket connections crash with an
        unexpected `ClassCastException`.
     *  Fix: Don't include the URL's fragment in `encodedQuery()` when the query
        itself is empty.
    
    ## Version 3.9.0
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

        }
      }
    
      void CompareInt32Tensor(const std::vector<int32_t>& expected, TF_Tensor* t) {
        int32_t* data = static_cast<int32_t*>(TF_TensorData(t));
        size_t size = TF_TensorByteSize(t);
        ASSERT_EQ(expected.size() * sizeof(int32_t), size);
        for (int i = 0; i < expected.size(); ++i) {
          ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i;
        }
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    		}
    	}
    
    	// expected error response when the unsigned HTTP request is not permitted.
    	unsupportedSignature := getAPIError(ErrSignatureVersionNotSupported).HTTPStatusCode
    	if rec.Code != unsupportedSignature {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    			},
    		},
    	}
    
    	entRes.Timestamp = time.Time{}
    	if !reflect.DeepEqual(expected, entRes) {
    		c.Fatalf("policy entities mismatch: expected: %v, got: %v", expected, entRes)
    	}
    
    	dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
    	res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
    	if err != nil {
    		c.Fatalf("Unable to list access keys: %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	t.Align = -1
    	t.C = &TypeRepr{Repr: dtype.Common().Name}
    	c.m[key] = t
    
    	switch dt := dtype.(type) {
    	default:
    		fatalf("%s: unexpected type: %s", lineno(pos), dtype)
    
    	case *dwarf.AddrType:
    		if t.Size != c.ptrSize {
    			fatalf("%s: unexpected: %d-byte address type - %s", lineno(pos), t.Size, dtype)
    		}
    		t.Go = c.uintptr
    		t.Align = t.Size
    
    	case *dwarf.ArrayType:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    				return nil, errDiskAccessDenied
    			}
    			storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors
    			return nil, errCorruptedBackend
    		} else if osIsPermission(err) {
    			return nil, errDiskAccessDenied
    		}
    		storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors
    		return nil, errCorruptedBackend
    	}
    	return fi, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top