Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 328 for unlikely (0.05 seconds)

  1. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteStreams.copy(inChannel, outChannel);
        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
    
      public void testCopyFileChannel() throws IOException {
        int chunkSize = 14407; // Random prime, unlikely to match any internal chunk size
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        WritableByteChannel outChannel = Channels.newChannel(out);
    
        File testFile = createTempFile();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    	ok = true
    	ctxt.DiagFunc = func(format string, args ...any) {
    		t.Errorf(format, args...)
    		ok = false
    	}
    	obj.Flushplist(ctxt, pList, nil)
    
    	if !ok {
    		// If we've encountered errors, the output is unlikely to be sane.
    		t.FailNow()
    	}
    
    	for p := top; p != nil; p = p.Link {
    		if p.As == obj.ATEXT {
    			text = p.From.Sym
    		}
    		hexes := hexByLine[p.Line()]
    		if hexes == "" {
    			continue
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

                Thread.yield();
              }
            } finally {
              executor.shutdownNow();
            }
    
            switcher.get(); // to check for (extremely unlikely) exceptions
          }
        }
      }
    
      public void testDeleteRecursively_nonDirectoryFile() throws IOException {
        try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

              if (nanos == expirationNanos) { // recheck for lost race
                T t = delegate.get();
                value = t;
                nanos = now + durationNanos;
                // In the very unlikely event that nanos is 0, set it to 1;
                // no one will notice 1 ns of tardiness.
                expirationNanos = (nanos == 0) ? 1 : nanos;
                return t;
              }
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  5. cmd/metacache-stream.go

    }
    
    func (b metacacheBlock) headerKV() map[string]string {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	v, err := json.Marshal(b)
    	if err != nil {
    		bugLogIf(context.Background(), err) // Unlikely
    		return nil
    	}
    	return map[string]string{fmt.Sprintf("%s-metacache-part-%d", ReservedMetadataPrefixLower, b.n): string(v)}
    }
    
    // pastPrefix returns true if the given prefix is before start of the block.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  6. cmd/admin-router.go

    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    	// this flag disables gzip compression of responses
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteStreams.copy(inChannel, outChannel);
        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
    
      public void testCopyFileChannel() throws IOException {
        int chunkSize = 14407; // Random prime, unlikely to match any internal chunk size
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        WritableByteChannel outChannel = Channels.newChannel(out);
    
        File testFile = createTempFile();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/net/InetAddressesTest.java

            ImmutableSet.of(
                "2001:db8::5efe:102:304",
                "2001:db8::100:5efe:102:304", // Private Multicast? Not likely.
                "2001:db8::200:5efe:102:304",
                "2001:db8::300:5efe:102:304" // Public Multicast? Also unlikely.
                );
        ImmutableSet<String> nonIsatapAddresses =
            ImmutableSet.of(
                "::1.2.3.4",
                "3ffe::1",
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

                Thread.yield();
              }
            } finally {
              executor.shutdownNow();
            }
    
            switcher.get(); // to check for (extremely unlikely) exceptions
          }
        }
      }
    
      public void testDeleteRecursively_nonDirectoryFile() throws IOException {
        try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

       * or even that an interrupt occurred (if the spurious wakeup happens before the interrupt).
       *
       * Fundamentally, there's not really anything we can do about that. In the unlikely event that it
       * comes up in practice (maybe through some kind of sanitizer-like testing that intentionally
       * inflicts spurious interrupts on us?), we might have to accept some flakiness or disable some
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
Back to Top