Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for jstree (0.06 sec)

  1. internal/s3select/json/reader.go

    		}
    		return nil, io.EOF
    	}
    
    	var kvs jstream.KVS
    	if v.ValueType == jstream.Object {
    		// This is a JSON object type (that preserves key
    		// order)
    		kvs = v.Value.(jstream.KVS)
    	} else {
    		// To be AWS S3 compatible Select for JSON needs to
    		// output non-object JSON as single column value
    		// i.e. a map with `_1` as key and value as the
    		// non-object.
    		kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v.Value}}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. internal/s3select/json/preader.go

    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	kvRecord := r.current[r.recordsRead]
    	r.recordsRead++
    
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.KVS = kvRecord
    	dstRec.SelectFormat = sql.SelectFmtJSON
    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    func (r *PReader) Close() error {
    	if r.close != nil {
    		close(r.close)
    		r.readerWg.Wait()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. internal/s3select/parquet/reader.go

    	dstRec, ok := dst.(*jsonfmt.Record)
    	if !ok {
    		dstRec = &jsonfmt.Record{}
    	}
    	dstRec.SelectFormat = sql.SelectFmtParquet
    	dstRec.KVS = kvs
    	return dstRec, nil
    }
    
    // convertFromAnnotation - converts values based on the Parquet column's type
    // annotations. LogicalType annotations if present override the deprecated
    // ConvertedType annotations. Ref:
    // https://github.com/apache/parquet-format/blob/master/LogicalTypes.md
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

              .build(),
          )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(1)
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(2)
        assertThat(cacheControl.isPrivate).isTrue()
        assertThat(cacheControl.isPublic).isTrue()
        assertThat(cacheControl.mustRevalidate).isTrue()
        assertThat(cacheControl.maxStaleSeconds).isEqualTo(3)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_templates/test_tutorial001.py

    import os
    import shutil
    
    from fastapi.testclient import TestClient
    
    
    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 22:25:37 UTC 2024
    - 910 bytes
    - Viewed (0)
  6. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionMultipleInstancesTest.kt

      ) {
        defaultInstancePort = defaultInstance.port
        instanceAPort = instanceA.port
        instanceBPort = instanceB.port
        assertThat(defaultInstance.started).isTrue()
        assertThat(instanceA.started).isTrue()
        assertThat(instanceB.started).isTrue()
        assertThat(defaultInstancePort).isNotEqualTo(instanceAPort)
        assertThat(defaultInstancePort).isNotEqualTo(instanceBPort)
      }
    
      @AfterEach
      fun tearDown(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. internal/s3select/jstream/README.md

    ```go
    decoder := jstream.NewDecoder(f, 2).EmitKV() // enable KV streaming at a depth level of 2
    ```
    
    ```
    jstream.KV{desc RGB}
    jstream.KV{colors [red green blue]}
    jstream.KV{desc CMYK}
    jstream.KV{colors [cyan magenta yellow black]}
    ```
    
    ## Installing 
    
    ```bash
    go get github.com/bcicen/jstream
    ```
    
    ## Commandline
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        assertThat(source2.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.exhausted()).isTrue()
        assertThat(source2.exhausted()).isTrue()
        source1.close()
        source2.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_CLEAN, 10L, metadata.size, "abcdefghij", metadata)
      }
    
      @Test
      fun readFromFile() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLSocket
    import okhttp3.ConnectionSpec
    import okhttp3.OkHttpClientTestRule
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

        assertThat(hasCycle(undirectedGraph)).isTrue(); // cyclic in undirected case
      }
    
      @Test
      public void hasCycle_threeCyclicEdges() {
        for (MutableGraph<Integer> graph : graphsToTest) {
          graph.putEdge(1, 2);
          graph.putEdge(2, 3);
          graph.putEdge(3, 1);
        }
        assertThat(hasCycle(directedGraph)).isTrue();
        assertThat(hasCycle(undirectedGraph)).isTrue();
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 18 17:56:35 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top