Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 682 for Assume (0.07 seconds)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          if (c.isEmpty()) {
            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
    
          // Guava issue 1013: AbstractSet and most JDK set implementations are
          // susceptible to quadratic removeAll performance on lists;
          // use a slightly smarter implementation here
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  2. src/archive/tar/writer_test.go

    				Gname:    "dsnet",
    				ModTime:  time.Unix(0, 0),
    				Format:   FormatGNU,
    			}, nil},
    			testClose{nil},
    		},
    		// TODO(dsnet): Re-enable this test when adding sparse support.
    		// See https://golang.org/issue/22735
    		/*
    			}, {
    				file: "testdata/gnu-nil-sparse-data.tar",
    				tests: []testFnc{
    					testHeader{Header{
    						Typeflag:    TypeGNUSparse,
    						Name:        "sparse.db",
    						Size:        1000,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertTrue(exception.getMessage().contains("rotation") || exception.getMessage().contains("exceeded"),
                    "Should indicate key rotation issue: " + exception.getMessage());
    
            context.close();
        }
    
        @Test
        @DisplayName("Should handle multiple closes gracefully")
        void testMultipleCloses() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        try {
          super.runBare();
        } catch (AssertionError e) {
          if (e.getMessage() != null && e.getMessage().contains("Dude, where's my interrupt?")) {
            // Rerun test to work around Marshamallow class-loading issue b/456222735.
            super.runBare();
            return;
          }
          throw e;
        }
      }
    
      public void testNull() throws Exception {
        new NullPointerTester()
    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)
  5. src/cmd/asm/internal/asm/asm.go

    	next := 1
    
    	// Next operand is the optional text flag, a literal integer.
    	var flag = int64(0)
    	if len(operands) == 3 {
    		flag = p.evalInteger("TEXT", operands[1])
    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
        // It's possible to race and suspend the thread just before the park call actually takes effect,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  7. src/bufio/bufio.go

    		}
    		if n == 0 {
    			return 0, b.readErr()
    		}
    		b.w += n
    	}
    
    	// copy as much as we can
    	// Note: if the slice panics here, it is probably because
    	// the underlying reader returned a bad count. See issue 49795.
    	n = copy(p, b.buf[b.r:b.w])
    	b.r += n
    	b.lastByte = int(b.buf[b.r-1])
    	b.lastRuneSize = -1
    	return n, nil
    }
    
    // ReadByte reads and returns a single byte.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 06 17:28:40 GMT 2026
    - 22K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          if (c.isEmpty()) {
            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
    
          // Guava issue 1013: AbstractSet and most JDK set implementations are
          // susceptible to quadratic removeAll performance on lists;
          // use a slightly smarter implementation here
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  9. src/bytes/bytes_test.go

    			switch v := r.(type) {
    			case error:
    				err = v
    			default:
    				err = fmt.Errorf("%s", v)
    			}
    		}
    	}()
    
    	Repeat(b, count)
    
    	return
    }
    
    // See Issue golang.org/issue/16237
    func TestRepeatCatchesOverflow(t *testing.T) {
    	type testCase struct {
    		s      string
    		count  int
    		errStr string
    	}
    
    	runTestCases := func(prefix string, tests []testCase) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                                || e.getMessage().contains("Failed to connect") || e.getMessage().contains("localhost/0:0:0:0:0:0:0:1"))) {
                            // Network connectivity issue in CI - skip test
                            assumeTrue(false, "Cannot connect to SMB server in CI environment - skipping test: " + e.getMessage());
                        }
                    }
                }
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top