Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,270 for expectEq (0.08 sec)

  1. internal/ioutil/ioutil.go

    // CopyAligned - copies from reader to writer using the aligned input
    // buffer, it is expected that input buffer is page aligned to
    // 4K page boundaries. Without passing aligned buffer may cause
    // this function to return error.
    //
    // This code is similar in spirit to io.Copy but it is only to be
    // used with DIRECT I/O based file descriptor and it is expected that
    // input writer *os.File not a generic io.Writer. Make sure to have
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    	return "size of the object greater than what is allowed(5G)"
    }
    
    // ObjectTooSmall error returned when the size of the object < what is expected.
    type ObjectTooSmall GenericError
    
    func (e ObjectTooSmall) Error() string {
    	return "size of the object less than what is expected"
    }
    
    // OperationTimedOut - a timeout occurred.
    type OperationTimedOut struct{}
    
    func (e OperationTimedOut) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      // Copying on to a parallel device must be explicit.
      TensorHandlePtr failed_copy_on_result(TFE_TensorHandleCopyToDevice(
          cpu_value.get(), context.get(), device_name, status.get()));
      EXPECT_EQ(TF_GetCode(status.get()), TF_UNIMPLEMENTED);
    
      std::array<TFE_TensorHandle*, 2> components{cpu_value.get(), cpu_value.get()};
      TensorHandlePtr device_value = CreatePerDeviceValues(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

            assertThat(map.get("aaa"), is((Object) 1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet_NotContains() throws Exception {
            exception.expect(IllegalKeyOfBeanMapException.class);
            exception.expectMessage(is("[ECL0016]key[xxx] is not included in this BeanMap : {aaa=1, bbb=2}."));
            final BeanMap map = new BeanMap();
            map.put("aaa", 1);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. logger/sql.go

    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    		return false
    	}
    }
    
    // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability
    func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string {
    	var (
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    		}
    		e.AllTierStats.merge(other.AllTierStats)
    	}
    }
    
    // mod returns true if the hash mod cycles == cycle.
    // If cycles is 0 false is always returned.
    // If cycles is 1 true is always returned (as expected).
    func (h dataUsageHash) mod(cycle uint32, cycles uint32) bool {
    	if cycles <= 1 {
    		return cycles == 1
    	}
    	return uint32(xxhash.Sum64String(string(h)))%cycles == cycle%cycles
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    		<-c.blockConnect
    	}
    	if req.Host != c.Remote {
    		err := fmt.Errorf("expected remote '%s', got '%s'", c.Remote, req.Host)
    		if debugPrint {
    			fmt.Println(err)
    		}
    		return err
    	}
    	if c.shouldConnect() {
    		if debugPrint {
    			fmt.Println("expected to be client side, not server side")
    		}
    		return errors.New("grid: expected to be client side, not server side")
    	}
    	msg := message{
    		Op: OpConnectResponse,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        // useful testable guarantees about the behavior of that dispatcher in a multithreaded
        // environment. Here we simply test that all the expected dispatches happened in some order.
        assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2);
      }
    
      public void testImmediateDispatcher() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                            "loc": ["query", "order_by"],
                            "msg": "Input should be 'created_at' or 'updated_at'",
                            "input": "invalid",
                            "ctx": {"expected": "'created_at' or 'updated_at'"},
                        },
                    ]
                }
            )
            | IsDict(
                # TODO: remove when deprecating Pydantic v1
                {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

        private VersionParserException parseInvalid(String constraint) {
            try {
                versionParser.parseVersionConstraint(constraint);
                fail("expected exception for constraint " + constraint);
                return null;
            } catch (VersionParserException e) {
                return e;
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top