Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 2,475 for 2$ (0.04 sec)

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

              // truncate metadata to 1/4 of length
              it.substring(0, it.length / 4)
            }
          }
    
        assertThat(response.body.string()).isEqualTo("ABC.2") // not cached
        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(2)
        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      @Test fun corruptedUrl() {
        val response =
          testCorruptingCache {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. tests/associations_has_one_test.go

    		*GetUser("slice-hasone-2", Config{Account: false}),
    		*GetUser("slice-hasone-3", Config{Account: true}),
    	}
    
    	DB.Create(&users)
    
    	// Count
    	AssertAssociationCount(t, users, "Account", 2, "")
    
    	// Find
    	var accounts []Account
    	if DB.Model(&users).Association("Account").Find(&accounts); len(accounts) != 2 {
    		t.Errorf("accounts count should be %v, but got %v", 3, len(accounts))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradient_checker_test.cc

      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    TEST_P(GradientCheckerTest, TestMatMul) {
      float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f};
      int64_t A_dims[] = {2, 2};
      AbstractTensorHandlePtr A;
      {
        AbstractTensorHandle* A_raw;
        absl::Status s = TestTensorHandleWithDims<float, TF_FLOAT>(
            ctx_.get(), A_vals, A_dims, 2, &A_raw);
        ASSERT_EQ(errors::OK, s.code()) << s.message();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.count, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            status = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            converter = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            numEntries = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            totalAvailableEntries = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
    
            return bufferIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  6. buildscripts/verify-healing-empty-erasure-set.sh

    function perform_test() {
    	start_minio_3_node $2
    
    	echo "Testing Distributed Erasure setup healing of drives"
    	echo "Remove the contents of the disks belonging to '${1}' erasure set"
    
    	rm -rf ${WORK_DIR}/${1}/*/
    
    	set -x
    	start_minio_3_node $2
    }
    
    function main() {
    	# use same ports for all tests
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	perform_test "2" ${start_port}
    	perform_test "1" ${start_port}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      EXPECT_EQ(-1, num_dims);
    
      // Set the shape to be 2 x Unknown
      int64_t dims[] = {2, -1};
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Fetch the shape and validate it is 2 by -1.
      num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, num_dims);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

            int start = dstIndex;
            SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex);
            dstIndex += 2;
    
            if ( this.ciphers != null ) {
                for ( int cipher : this.ciphers ) {
                    SMBUtil.writeInt2(cipher, dst, dstIndex);
                    dstIndex += 2;
                }
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  9. cmd/data-usage-cache_test.go

    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_1024_B_AND_64_KB": 1,
    				"BETWEEN_64_KB_AND_256_KB": 1,
    				"BETWEEN_1024B_AND_1_MB":   2,
    				"BETWEEN_10_MB_AND_64_MB":  1,
    			},
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertFalse(enforceVersion("[2.0.6]", actualVersion));
            assertTrue(enforceVersion("[2.0,2.1]", actualVersion));
            assertFalse(enforceVersion("[2.0,2.0.3]", actualVersion));
            assertTrue(enforceVersion("[2.0,2.0.5]", actualVersion));
            assertFalse(enforceVersion("[2.0,2.0.5)", actualVersion));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top