Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 473 for unused (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

          Iterator<V> i = values.iterator(); // Must be in synchronized block
          while (i.hasNext()) {
            foo(i.next());
          }
        }
      }
    
      private static void foo(Object unused) {}
    
      public void testFilteredKeysSetMultimapReplaceValues() {
        SetMultimap<String, Integer> multimap = LinkedHashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

        AvlNode<E> root = rootReference.get();
        if (root == null) {
          int unused = comparator().compare(element, element);
          AvlNode<E> newRoot = new AvlNode<>(element, occurrences);
          successor(header, newRoot, header);
          rootReference.checkAndSet(root, newRoot);
          return 0;
        }
        int[] result = new int[1]; // used as a mutable int reference to hold result
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream unused) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      @Flaky
      @Test
      fun connectViaHttpsToUntrustedServer() {
        // Flaky https://github.com/square/okhttp/issues/5222
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse()) // unused
        assertFailsWith<IOException> {
          getResponse(newRequest("/foo"))
        }.also { expected ->
          when (expected) {
            is SSLHandshakeException -> {
              // Allow conscrypt to fail in different ways
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThat(alreadyThere).containsExactly("already", "there", "freshly", "added").inOrder();
        assertTrue(changed);
      }
    
      private static void assertCanIterateAgain(Iterable<?> iterable) {
        for (@SuppressWarnings("unused") Object obj : iterable) {}
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		}
    	}
    
    	// Remove functions only used as expressions, so their respective
    	// bridge functions are not generated.
    	for name, used := range functions {
    		if !used {
    			delete(f.Name, name)
    		}
    	}
    }
    
    // rewriteName returns the expression used to rewrite a reference.
    // If addPosition is true, add position info in the ident name.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      TF_GraphImportGraphDef(graph, graph_def, opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* scalar = TF_GraphOperationByName(graph, "scalar");
    
      // Import it in a fresh graph with an unused input mapping.
      TF_DeleteImportGraphDefOptions(opts);
      opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported");
      TF_ImportGraphDefOptionsAddInputMapping(opts, "scalar", 0, {scalar, 0});
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    		return b
    	},
    }
    
    // waitForHTTPStream will wait for responses where
    // streamHTTPResponse has been used.
    // The returned reader contains the payload and must be closed if no error is returned.
    func waitForHTTPStream(respBody io.ReadCloser, w io.Writer) error {
    	var tmp [1]byte
    	// 8K copy buffer, reused for less allocs...
    	bufp := poolBuf8k.Get().(*[]byte)
    	buf := *bufp
    	defer poolBuf8k.Put(bufp)
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      public void testGenerics() {
        ListMultimap<String, Integer> unusedA = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> unusedB =
            MultimapBuilder.linkedHashKeys().treeSetValues().build();
        SetMultimap<String, Integer> unusedC =
            MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

    		},
    		{
    			name:  "Select reserved word column with table alias",
    			query: `select S3Object."CAST" from s3object`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with unused table alias",
    			query: `select "CAST"  from s3object s`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with table alias",
    			query: `select s."CAST"  from s3object s`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
Back to top