Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 1,269 for invalid (0.07 sec)

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

              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
            }
          }
          fail("FLOATING_POINT_PATTERN should have matched valid input <" + escapedInput + ">");
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      private static void checkTryParse(double expected, String input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         * only to a server, this method determines if the server exists on the
         * network and is advertising SMB services. If this resource refers to
         * a workgroup, this method determines if the workgroup name is valid on
         * the local SMB network. If this <code>SmbResource</code> refers to the root
         * <code>smb://</code> resource <code>true</code> is always returned. If
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  3. tests/preload_suits_test.go

    		t.Error(err)
    	}
    
    	levelB1 := &LevelB1{Value: "foo"}
    	if err := DB.Create(levelB1).Error; err != nil {
    		t.Error(err)
    	}
    
    	levelB3 := &LevelB3{
    		Value:     "bar",
    		LevelB1ID: sql.NullInt64{Valid: true, Int64: int64(levelB1.ID)},
    		LevelB2s:  []*LevelB2{},
    	}
    	if err := DB.Create(levelB3).Error; err != nil {
    		t.Error(err)
    	}
    	levelB1.LevelB3s = []*LevelB3{levelB3}
    
    	want := []*LevelB1{levelB1}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        }
    
        // Test valid cases.
    
        // Exactly 120.
        key = (
          "0123456789012345678901234567890123456789012345678901234567890123456789" +
            "01234567890123456789012345678901234567890123456789"
        )
        cache.edit(key)!!.abort()
        // Contains all valid characters.
        key = "abcdefghijklmnopqrstuvwxyz_0123456789"
        cache.edit(key)!!.abort()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    you should first check whether the call succeeded before checking the error
    result. For example:
    
    	n, err := C.setenv(key, value, 1)
    	if n != 0 {
    		// we know the call failed, so it is now valid to use err
    		return err
    	}
    
    Calling C function pointers is currently not supported, however you can
    declare Go variables which hold C function pointers and pass them
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. docs/en/docs/alternatives.md

    Another big feature needed by APIs is data validation, making sure that the data is valid, given certain parameters. For example, that some field is an `int`, and not some random string. This is especially useful for incoming data.
    
    Without a data validation system, you would have to do all the checks by hand, in code.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return asList(elements).iterator();
      }
    
      // In GWT, java.util.TreeSet throws ClassCastException when the comparator
      // throws it, unlike JDK6.  Therefore, we accept ClassCastException as a
      // valid result thrown by java.util.TreeSet#equals.
      private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) {
        try {
          assertThat(actual).isNotEqualTo(unexpected);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    		cdisk := diskMap[endpoint]
    		if cdisk != nil && cdisk.IsOnline() {
    			if s.lastConnectDisksOpTime.IsZero() {
    				continue
    			}
    
    			// An online-disk means its a valid disk but it may be a re-connected disk
    			// we verify that here based on LastConn(), however we make sure to avoid
    			// putting it back into the s.erasureDisks by re-placing the disk again.
    			_, setIndex, _ := cdisk.GetDiskLoc()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  9. cmd/data-usage-cache.go

    		if err != nil {
    			return toObjectErr(err, dataUsageBucket, name)
    		}
    		if !retry {
    			break
    		}
    		retry, err = load(name+".bkp", 30*time.Second)
    		if err == nil && !retry {
    			// Only return when we have valid data from the backup
    			break
    		}
    		retries++
    		time.Sleep(time.Duration(rand.Int63n(int64(time.Second))))
    	}
    
    	if retries == 5 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    // even if one of the sets fail to create buckets, we proceed all the successful
    // operations.
    func (z *erasureServerPools) MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error {
    	// Verify if bucket is valid.
    	if !isMinioMetaBucketName(bucket) {
    		if err := s3utils.CheckValidBucketNameStrict(bucket); err != nil {
    			return BucketNameInvalid{Bucket: bucket}
    		}
    
    		if !opts.NoLock {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top