Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,209 for non (0.03 sec)

  1. src/bytes/buffer_test.go

    		panic("oops")
    	}
    	return 0, io.EOF
    }
    
    // Make sure that an empty Buffer remains empty when
    // it is "grown" before a Read that panics
    func TestReadFromPanicReader(t *testing.T) {
    
    	// First verify non-panic behaviour
    	var buf Buffer
    	i, err := buf.ReadFrom(panicReader{})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if i != 0 {
    		t.Fatalf("unexpected return from bytes.ReadFrom (1): got: %d, want %d", i, 0)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		}
    		if (formats != FormatUnknown) && (err != nil) {
    			t.Errorf("test %d, unexpected error: %v", i, err)
    		}
    		if (formats == FormatUnknown) && (err == nil) {
    			t.Errorf("test %d, got nil-error, want non-nil error", i)
    		}
    	}
    }
    
    func Benchmark(b *testing.B) {
    	type file struct {
    		hdr  *Header
    		body []byte
    	}
    
    	vectors := []struct {
    		label string
    		files []file
    	}{{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          for (int i = 0; i < params.size(); i++) {
            TypeToken<?> paramType = type.resolveType(typeVars[i]);
            // We require all @Generates methods to either be parameter-less or accept non-null
            // values for their generic parameter types.
            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Network.java

     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
     * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
     * the network), you should use the non-mutating {@link Network} interface, or an {@link
     * ImmutableNetwork}.
     *
     * <p>You can create an immutable copy of an existing {@code Network} using {@link
     * ImmutableNetwork#copyOf(Network)}:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. cmd/iam.go

    				groupSet := set.CreateStringSet(actualGroups...)
    
    				// duplicates can be overwritten, fetched groups should be identical.
    				cleanQ.Users[lookupRes.NormDN] = groupSet
    			}
    			// Search for non-normalized DN as well for backward compatibility.
    			if _, ok := cleanQ.Users[user]; !ok {
    				cleanQ.Users[user] = nil
    			}
    		}
    
    		// Validate and normalize groups.
    		for _, group := range q.Groups {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

          status->status = InvalidArgument("Unparseable RunOptions proto");
          return;
        }
        if (run_metadata != nullptr && run_metadata->data != nullptr) {
          status->status =
              InvalidArgument("Passing non-empty run_metadata is invalid.");
          return;
        }
    
        RunMetadata run_metadata_proto;
        result = session->Run(run_options_proto, input_pairs, output_tensor_names,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    .weigher(weigher)
                    .concurrencyLevel(12)
                    .removalListener(listener)
                    .ticker(ticker)
                    .build(loader);
        // add a non-serializable entry
        one.getUnchecked(new Object());
        assertEquals(1, one.size());
        assertFalse(one.asMap().isEmpty());
        LocalLoadingCache<Object, Object> two = SerializableTester.reserialize(one);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    .weigher(weigher)
                    .concurrencyLevel(12)
                    .removalListener(listener)
                    .ticker(ticker)
                    .build(loader);
        // add a non-serializable entry
        one.getUnchecked(new Object());
        assertEquals(1, one.size());
        assertFalse(one.asMap().isEmpty());
        LocalLoadingCache<Object, Object> two = SerializableTester.reserialize(one);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	}
    
    	// Check internal path
    	isInternal := isHTTP && HasPrefix(trcInfo.HTTP.ReqInfo.Path, minioReservedBucketPath+SlashSeparator)
    	if isInternal && !opts.Internal {
    		return false
    	}
    
    	// Filter non-errors.
    	if isHTTP && opts.OnlyErrors && trcInfo.HTTP.RespInfo.StatusCode < http.StatusBadRequest {
    		return false
    	}
    
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	defer xioutil.SafeClose(results)
    	o.debugf(color.Green("listPath:")+" with options: %#v", o)
    
    	// get prioritized non-healing disks for listing
    	disks, infos, _ := er.getOnlineDisksWithHealingAndInfo(true)
    	askDisks := getListQuorum(o.AskDisks, er.setDriveCount)
    	if askDisks == -1 {
    		newDisks := getQuorumDisks(disks, infos, (len(disks)+1)/2)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top