Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,180 for shouldn (0.21 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    fbuf.reset();
                    msg.decode_header(fbuf);
                    stub_frag_len = msg.length - 24;
    
                    if ((off + stub_frag_len) > stub.length) {
                        // shouldn't happen if alloc_hint is correct or greater
                        byte[] tmp = new byte[off + stub_frag_len];
                        System.arraycopy(stub, 0, tmp, 0, off);
                        stub = tmp;
                    }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  2. src/bytes/boundary_test.go

    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    // dangerousSlice returns a slice which is immediately
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
    
        @SuppressWarnings("unused") // accessed reflectively
        void testNotPublic() {}
      }
    
      // Shouldn't be mistaken as Foo's test
      static class Foo2Test {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
      private List<Class<?>> findClassesToTest(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
    
        @SuppressWarnings("unused") // accessed reflectively
        void testNotPublic() {}
      }
    
      // Shouldn't be mistaken as Foo's test
      static class Foo2Test {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
      private List<Class<?>> findClassesToTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  5. cmd/dynamic-timeouts.go

    		timeout := atomic.LoadInt64(&dt.timeout) * 125 / 100
    
    		// Set upper cap.
    		if timeout > int64(maxDynamicTimeout) {
    			timeout = int64(maxDynamicTimeout)
    		}
    		// Safety, shouldn't happen
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	} else if failPct < dynamicTimeoutDecreaseThresholdPct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  6. src/bufio/example_test.go

    func ExampleScanner_Bytes() {
    	scanner := bufio.NewScanner(strings.NewReader("gopher"))
    	for scanner.Scan() {
    		fmt.Println(len(scanner.Bytes()) == 6)
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        upstream.writeUtf8("abcde")
        val relay = edit(file, upstream, metadata, 1024)
        val source1 = relay.newSource()
        val source2 = relay.newSource()
        source1!!.close()
        source1.close() // Unnecessary. Shouldn't decrement the reference count.
        assertThat(relay.isClosed).isFalse()
        source2!!.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null)
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/EnumBiMap.java

       *
       * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller
       * calls `create(Foo.class)`, rather than `create(map)`. That's fine; we just shouldn't rely on
       * it.
       */
      transient Class<K> keyTypeOrObjectUnderJ2cl;
      transient Class<V> valueTypeOrObjectUnderJ2cl;
    
      /**
       * Returns a new, empty {@code EnumBiMap} using the specified key and value types.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        ImmutableNetwork.Builder<String, Integer> immutableNetworkBuilder =
            networkBuilder.<String, Integer>immutable();
    
        // Update NetworkBuilder, but this shouldn't impact immutableNetworkBuilder
        networkBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered());
    
        ImmutableNetwork<String, Integer> emptyNetwork = immutableNetworkBuilder.build();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        ImmutableValueGraph.Builder<String, Integer> immutableValueGraphBuilder =
            graphBuilder.<String, Integer>immutable();
    
        // Update ValueGraphBuilder, but this shouldn't impact immutableValueGraphBuilder
        graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered());
    
        ImmutableValueGraph<String, Integer> emptyGraph = immutableValueGraphBuilder.build();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 6.4K bytes
    - Viewed (0)
Back to top