Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 252 for Explicit (0.07 sec)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

      @GwtIncompatible // SerializableTester
      public void testStringConverterSerialization() {
        SerializableTester.reserializeAndAssert(Longs.stringConverter());
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Long> none = Arrays.<Long>asList();
        assertThat(Longs.toArray(none)).isEqualTo(EMPTY);
    
        List<Long> one = Arrays.asList((long) 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(1, partition(list, Integer.MAX_VALUE).size());
        assertEquals(1, partition(list, Integer.MAX_VALUE - 1).size());
      }
    
      @GwtIncompatible // cannot do such a big explicit copy
      @J2ktIncompatible // too slow
      public void testPartitionSize_2() {
        assertEquals(2, partition(nCopies(0x40000001, 1), 0x40000000).size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    		is1x0 = true
    	case major != "" || minor != "":
    		return nil, nil // Unknown GNU sparse PAX version
    	case hdr.PAXRecords[paxGNUSparseMap] != "":
    		is1x0 = false // 0.0 and 0.1 did not have explicit version records, so guess
    	default:
    		return nil, nil // Not a PAX format GNU sparse file.
    	}
    	hdr.Format.mayOnlyBe(FormatPAX)
    
    	// Update hdr from GNU sparse PAX headers.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. LICENSE

      12. If the distribution and/or use of the Library is restricted in
    certain countries either by patents or by copyrighted interfaces, the
    original copyright holder who places the Library under this License may add
    an explicit geographical distribution limitation excluding those countries,
    so that distribution is permitted only in or among countries not thus
    excluded.  In such case, this License incorporates the limitation as if
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    func randomizeBytes(s []byte, seed int64) []byte {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      @Override
      public abstract ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType);
    
      /**
       * Returns a builder that creates immutable sorted multisets with an explicit comparator. If the
       * comparator has a more general type than the set being generated, such as creating a {@code
       * SortedMultiset<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} constructor
       * instead.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. doc/go_mem.html

    there is no guarantee that it will observe the initialized
    value for <code>g.msg</code>.
    </p>
    
    <p>
    In all these examples, the solution is the same:
    use explicit synchronization.
    </p>
    
    <h2 id="badcompiler">Incorrect compilation</h2>
    
    <p>
    The Go memory model restricts compiler optimizations as much as it does Go programs.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    			fmt.Fprintf(writer, "   WARNING: User ID (UID) 1337 is reserved for the sidecar proxy.\n")
    		}
    	}
    
    	// https://istio.io/docs/setup/kubernetes/additional-setup/requirements/
    	// says "We recommend adding an explicit app label and version label to deployments."
    	if !labels.HasCanonicalServiceName(pod.Labels) {
    		fmt.Fprintf(writer, "Suggestion: add required service name label for Istio telemetry. "+
    			"See %s.\n", url.DeploymentRequirements)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    	}
    	if context.CgoEnabled {
    		ctags["cgo"] = true
    	}
    	for _, tag := range context.BuildTags {
    		ctags[tag] = true
    	}
    	// TODO: ReleaseTags (need to load default)
    	key := dir
    
    	// explicit on GOOS and GOARCH as global cache will use "all" cached packages for
    	// an indirect imported package. See https://github.com/golang/go/issues/21181
    	// for more detail.
    	tags = append(tags, context.GOOS, context.GOARCH)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    	// if C.free is needed).
    	func C.CBytes([]byte) unsafe.Pointer
    
    	// C string to Go string
    	func C.GoString(*C.char) string
    
    	// C data with explicit length to Go string
    	func C.GoStringN(*C.char, C.int) string
    
    	// C data with explicit length to Go []byte
    	func C.GoBytes(unsafe.Pointer, C.int) []byte
    
    As a special case, C.malloc does not call the C library malloc directly
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top