Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for StackOverflow (0.2 sec)

  1. src/encoding/json/number_test.go

    // license that can be found in the LICENSE file.
    
    package json
    
    import (
    	"regexp"
    	"testing"
    )
    
    func TestNumberIsValid(t *testing.T) {
    	// From: https://stackoverflow.com/a/13340826
    	var jsonNumberRegexp = regexp.MustCompile(`^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$`)
    
    	validTests := []string{
    		"0",
    		"-0",
    		"1",
    		"-1",
    		"0.1",
    		"-0.1",
    		"1234",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 05:40:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. internal/http/close.go

    	if respBody != nil {
    		// Drain any remaining Body and then close the connection.
    		// Without this closing connection would disallow re-using
    		// the same connection for future uses.
    		//  - http://stackoverflow.com/a/17961593/4465767
    		defer respBody.Close()
    		xioutil.DiscardReader(respBody)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/extension.go

    	}
    	if !bytes.Equal(in, []byte("null")) {
    		re.Raw = append(re.Raw[0:0], in...)
    	}
    	return nil
    }
    
    // MarshalJSON may get called on pointers or values, so implement MarshalJSON on value.
    // http://stackoverflow.com/questions/21390979/custom-marshaljson-never-gets-called-in-go
    func (re RawExtension) MarshalJSON() ([]byte, error) {
    	if re.Raw == nil {
    		// TODO: this is to support legacy behavior of JSONPrinter and YAMLPrinter, which
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 03 00:30:19 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. README.md

    ## Links
    
    -   [GitHub project](https://github.com/google/guava)
    -   [Issue tracker: Report a defect or feature request](https://github.com/google/guava/issues/new)
    -   [StackOverflow: Ask "how-to" and "why-didn't-it-work" questions](https://stackoverflow.com/questions/ask?tags=guava+java)
    -   [guava-announce: Announcements of releases and upcoming significant changes](https://groups.google.com/group/guava-announce)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

     *
     * This logs TLSv1.2 on a JVM (OpenJDK 11+) without any additional code.  For TLSv1.3
     * an existing external tool is required.
     *
     * See https://stackoverflow.com/questions/61929216/how-to-log-tlsv1-3-keys-in-jsse-for-wireshark-to-decode-traffic
     *
     * Steps to run in your own code
     *
     * 1. In your main method `WireSharkListenerFactory.register()`
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. mkdocs.yml

            'concurrency.md': 'contribute/concurrency.md'
            'debug_logging.md': 'contribute/debug_logging.md'
    
    nav:
      - 'Overview':
        - 'Overview': index.md
        - 'Stack Overflow': https://stackoverflow.com/questions/tagged/okhttp?sort=active
      - 'Features':
        - 'Calls': features/calls.md
        - 'Caching': features/caching.md
        - 'Connections': features/connections.md
        - 'Events': features/events.md
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. common/scripts/setup_env.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    # https://stackoverflow.com/questions/59895/how-can-i-get-the-source-directory-of-a-bash-script-from-within-the-script-itsel
    # Note: the normal way we use in other scripts in Istio do not work when `source`d, which is why we use this approach
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/async-tests.md

    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. pkg/proxy/util/linebuffer_test.go

    				t.Fatalf("write bytes is %v\n expected: %s, got: %s", testCase.bytes, want, got)
    			}
    		})
    	}
    }
    
    // obtained from https://stackoverflow.com/a/22892986
    var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
    
    func randSeq() string {
    	b := make([]rune, 30)
    	for i := range b {
    		b[i] = letters[rand.Intn(len(letters))]
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

    
            Be aware, though: most feature requests are not accepted, even if they're suggested by
            a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from our
            users indicates that they really appreciate Guava's high power-to-weight ratio. It's
            important to us to keep Guava as easy to use and understand as we can. That means boiling
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top