Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,230 for alla (0.03 sec)

  1. src/archive/tar/strconv_test.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

          ASSERT_TRUE(a_edges.find(e) != a_edges.end())
              << "Failed to find expected control edge " << e.ToString()
              << " in fdef: " << fdef.DebugString();
        }
    
        // If caller specified all edges, check that we have seen all
        if (is_exact_edges) {
          ASSERT_EQ(e_edges.size() + c_edges.size(), a_edges.size())
              << "Expected edges: " << ToString(e_edges)
              << " Expected Control edges: " << ToString(c_edges)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    			// and only for expected errors, also set once.
    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    					derr = err
    				}
    			}
    		} else if err != nil {
    			// For all errors that cannot be reconstructed fail the read operation.
    			return -1, err
    		}
    
    		if err = e.DecodeDataBlocks(bufs); err != nil {
    			return -1, err
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/DelegatingConfiguration.java

    /**
     * @author mbechler
     *
     */
    public class DelegatingConfiguration implements Configuration {
    
        private final Configuration delegate;
    
    
        /**
         * @param delegate
         *            delegate to pass all non-overridden method calls to
         * 
         */
        public DelegatingConfiguration ( Configuration delegate ) {
            this.delegate = delegate;
        }
    
    
        /**
         * {@inheritDoc}
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/dlpack.cc

    /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

                return true;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was not called for all the lines",
            3,
            CharStreams.readLines(r, alwaysTrue).intValue());
    
        // Test a LineProcessor that is conditional.
        r = new StringReader(text);
        final StringBuilder sb = new StringBuilder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
     *
     * @author Louis Wasserman
     */
    /*
     * TODO(cpovirk): Should all the tests for filtered collections run under GWT, too? Currently, they
     * don't.
     */
    public final class FilteredCollectionsTestUtil {
      private static final Predicate<Integer> EVEN =
          new Predicate<Integer>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharStreamsTest.java

                return true;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was not called for all the lines",
            3,
            CharStreams.readLines(r, alwaysTrue).intValue());
    
        // Test a LineProcessor that is conditional.
        r = new StringReader(text);
        final StringBuilder sb = new StringBuilder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val selection2 = routeSelector.next()
        assertThat(selection2.next()).isEqualTo(regularRoutes[1])
        assertThat(selection2.hasNext()).isFalse()
    
        // The second selection will contain all failed routes.
        val selection3 = routeSelector.next()
        assertThat(selection3.next()).isEqualTo(regularRoutes[0])
        assertThat(selection3.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isFalse()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    func isETagEqual(left, right string) bool {
    	if strings.TrimSpace(right) == "*" {
    		return true
    	}
    	return canonicalizeETag(left) == canonicalizeETag(right)
    }
    
    // setPutObjHeaders sets all the necessary headers returned back
    // upon a success Put/Copy/CompleteMultipart/Delete requests
    // to activate delete only headers set delete as true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top