Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for 5678 (0.24 sec)

  1. src/cmd/asm/internal/lex/lex_test.go

    			"#define A",
    			"#ifdef A",
    			"#define B 1234",
    			"#else",
    			"#define B 5678",
    			"#endif",
    			"B",
    		),
    		"1234.\n",
    	},
    	{
    		"not taken #ifdef with else",
    		lines(
    			"#ifdef A",
    			"#define B 1234",
    			"#else",
    			"#define B 5678",
    			"#endif",
    			"B",
    		),
    		"5678.\n",
    	},
    	{
    		"nested taken/taken #ifdef",
    		lines(
    			"#define A",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

            InetSocketAddress(ipv6Address, 5678),
          ).toString(),
        ).isEqualTo("example.com:1003 via proxy [::1]:5678")
        assertThat(
          Route(
            factory.newAddress(uriHost = "::2", uriPort = 1003),
            Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved("proxy.example.com", 1003)),
            InetSocketAddress(ipv6Address, 5678),
          ).toString(),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_websockets/test_tutorial003.py

        response = client.get("/")
        assert response.text == html
    
    
    def test_websocket_handle_disconnection():
        with client.websocket_connect("/ws/1234") as connection, client.websocket_connect(
            "/ws/5678"
        ) as connection_two:
            connection.send_text("Hello from 1234")
            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 29 09:26:07 GMT 2021
    - 872 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_websockets/test_tutorial003_py39.py

        assert response.text == html
    
    
    @needs_py39
    def test_websocket_handle_disconnection(client: TestClient):
        with client.websocket_connect("/ws/1234") as connection, client.websocket_connect(
            "/ws/5678"
        ) as connection_two:
            connection.send_text("Hello from 1234")
            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    	// Validate the input
    	for scanner.Scan() {
    		fmt.Printf("%s\n", scanner.Text())
    	}
    
    	if err := scanner.Err(); err != nil {
    		fmt.Printf("Invalid input: %s", err)
    	}
    	// Output:
    	// 1234
    	// 5678
    	// Invalid input: strconv.ParseInt: parsing "1234567901234567890": value out of range
    }
    
    // Use a Scanner with a custom split function to parse a comma-separated
    // list with an empty final value.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    		UncompressedSize: 987654321,
    		ModifiedTime:     1234,
    		ModifiedDate:     5678,
    	}
    	testHeaderRoundTrip(fh, fh.UncompressedSize, uint64(fh.UncompressedSize), t)
    }
    
    func TestFileHeaderRoundTrip64(t *testing.T) {
    	fh := &FileHeader{
    		Name:               "foo.txt",
    		UncompressedSize64: 9876543210,
    		ModifiedTime:       1234,
    		ModifiedDate:       5678,
    	}
    	testHeaderRoundTrip(fh, uint32max, fh.UncompressedSize64, t)
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    const (
    	id     = "1234-5678"
    	source = "main.go"
    )
    
    func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	drwm1 := NewDRWMutex(ds, "simplelock")
    	ctx1, cancel1 := context.WithCancel(context.Background())
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  8. src/archive/zip/writer_test.go

    	var buf bytes.Buffer
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(&FileHeader{
    		Name:               "dir/",
    		Method:             Deflate,
    		CompressedSize64:   1234,
    		UncompressedSize64: 5678,
    	}); err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    	b := buf.Bytes()
    
    	var sig [4]byte
    	binary.LittleEndian.PutUint32(sig[:], uint32(fileHeaderSignature))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      result.resize(read);
      ASSERT_EQ(result, "45678") << "Result: " << result << "\n";
    
      read = tf_random_access_file::Read(file, 5, result.length(), &result[0],
                                         status_);
      ASSERT_EQ(read, 4) << "Read: " << read << "\n";
      ASSERT_EQ(TF_GetCode(status_), TF_OUT_OF_RANGE) << TF_Message(status_);
      result.resize(read);
      ASSERT_EQ(result, "5678") << "Result: " << result << "\n";
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static final double OTHER_ONE_VALUE = -56.78;
    
      static final ImmutableList<Double> TWO_VALUES = ImmutableList.of(12.34, -56.78);
      static final double TWO_VALUES_MEAN = (12.34 - 56.78) / 2;
      static final double TWO_VALUES_SUM_OF_SQUARES_OF_DELTAS =
          (12.34 - TWO_VALUES_MEAN) * (12.34 - TWO_VALUES_MEAN)
              + (-56.78 - TWO_VALUES_MEAN) * (-56.78 - TWO_VALUES_MEAN);
      static final double TWO_VALUES_MAX = 12.34;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top