Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for silly (0.18 sec)

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

        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * created arrays to have a {@code @Nullable} element type even when they're created directly with
       * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
       */
      @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed
      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		IsOwner:         false,
    	})
    
    	encodedSuccessResponse := encodeResponse(PolicyStatus{
    		IsPublic: func() string {
    			// Silly to have special 'boolean' values yes
    			// but complying with silly implementation
    			// https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html
    			if readable && writable {
    				return "TRUE"
    			}
    			return "FALSE"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    		return 0, b.err
    	}
    	n := b.Available()
    	if n < utf8.UTFMax {
    		if b.Flush(); b.err != nil {
    			return 0, b.err
    		}
    		n = b.Available()
    		if n < utf8.UTFMax {
    			// Can only happen if buffer is silly small.
    			return b.WriteString(string(r))
    		}
    	}
    	size = utf8.EncodeRune(b.buf[b.n:], r)
    	b.n += size
    	return size, nil
    }
    
    // WriteString writes a string.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/fi/stopwords.txt

    tallä
    tältä
    tälle
    tänä
    täksi
    tuo
    tuon
    tuotä
    tuossa
    tuosta
    tuohon
    tuolla
    tuolta
    tuolle
    tuona
    tuoksi
    se
    sen
    sitä
    siinä
    siitä
    siihen
    sillä
    siltä
    sille
    sinä
    siksi
    nämä
    näiden
    näitä
    näissä
    näistä
    näihin
    näillä
    näiltä
    näille
    näinä
    näiksi
    nuo
    noiden
    noita
    noissa
    noista
    noihin
    noilla
    Plain Text
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Nov 27 12:59:36 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        future1.set(1L);
        future1 = null;
        future2.set(2L);
        future2 = null;
    
        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        future1.set(1L);
        future1 = null;
        future2.set(2L);
        future2 = null;
    
        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top