Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for assertbig (0.44 sec)

  1. guava-testlib/src/com/google/common/testing/SerializableTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        data.write("8900".decodeHex()) // Empty ping
        clientReader.processNextFrame()
        callback.assertPing(EMPTY)
      }
    
      @Test fun pingCallsCallback() {
        data.write("890548656c6c6f".decodeHex()) // Ping with "Hello"
        clientReader.processNextFrame()
        callback.assertPing("Hello".encodeUtf8())
      }
    
      @Test fun emptyCloseCallsCallback() {
        data.write("8800".decodeHex()) // Empty close
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/context.go

    	// unnecessary, but we leave it for hash readability. It can be removed later
    	// if performance is an issue.
    	h.typ(orig)
    	if len(targs) > 0 {
    		// TODO(rfindley): consider asserting on isGeneric(typ) here, if and when
    		// isGeneric handles *Signature types.
    		h.typeList(targs)
    	}
    
    	return strings.ReplaceAll(buf.String(), " ", "#")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. src/go/types/context.go

    	// unnecessary, but we leave it for hash readability. It can be removed later
    	// if performance is an issue.
    	h.typ(orig)
    	if len(targs) > 0 {
    		// TODO(rfindley): consider asserting on isGeneric(typ) here, if and when
    		// isGeneric handles *Signature types.
    		h.typeList(targs)
    	}
    
    	return strings.ReplaceAll(buf.String(), " ", "#")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

        assertThat(nextEvent()).isEqualTo(Message(string = payload))
      }
    
      fun assertBinaryMessage(payload: ByteString?) {
        assertThat(nextEvent()).isEqualTo(Message(payload))
      }
    
      fun assertPing(payload: ByteString) {
        assertThat(nextEvent()).isEqualTo(Ping(payload))
      }
    
      fun assertPong(payload: ByteString) {
        assertThat(nextEvent()).isEqualTo(Pong(payload))
      }
    
      fun assertClosing(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. pilot/pkg/simulation/traffic.go

    	ClusterMatched     string
    	// StrictMatch controls whether we will strictly match the result. If unset, empty fields will
    	// be ignored, allowing testing only fields we care about This allows asserting that the result
    	// is *exactly* equal, allowing asserting a field is empty
    	StrictMatch bool
    	// If set, this will mark a test as skipped. Note the result is still checked first - we skip only
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/file/FileCollection.java

     */
    @HasInternalProtocol
    public interface FileCollection extends Iterable<File>, AntBuilderAware, Buildable {
        /**
         * Returns the content of this collection, asserting it contains exactly one file.
         *
         * @return The file.
         * @throws IllegalStateException when this collection does not contain exactly one file.
         */
        File getSingleFile() throws IllegalStateException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 05 15:51:59 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

                    }
                }
            }
        }
    
        void noBuildTriggered(int waitSeconds = 3) {
            // TODO - change this general strategy to positively detect changes we are ignoring instead of asserting that a build doesn't happen in some time frame
            try {
                ConcurrentTestUtil.poll(waitSeconds, 0.5) {
                    // force the poll to continue while there is no output
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

                                       int path_idx) {
      std::vector<IslandOp> path;
      bool found_path = FindPathBfs(source_op, target_op, path);
      if (!found_path) {
        // This shouldn't happen, returning an error instead of asserting so it
        // doesn't go unnoticed if it ever happens.
        target_op.emitError("no path to target op found, cannot emit warnings");
        return;
      }
    
      // Emit warnings for path.
      int node_idx = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            self._input_saved_model_path, tags, signature_def_key
        )
    
        # Make sure that the desired input key and output key is present.
        self.assertIn('input_vocabs', inputs.keys())
        self.assertIn('lookup', outputs.keys())
    
        # Representative dataset is composed of a set of vocabs for table lookup.
        repr_ds = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top