Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 570 for Effect (0.04 seconds)

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

        out.write(data);
        assertThat(source.read()).isEqualTo(data);
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertThat(source.read()).isEqualTo(data);
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Joiner.java

         * regrettable implementations like our own Sets.filter, Collection.size() is sometimes a
         * linear-time operation, and it can even have side effects. Thus, we limit the special case to
         * List, which is _even more likely_ to have size() implemented to be fast and side-effect-free.
         *
         * We could consider recognizing specific other collections as safe (like ImmutableCollection,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. internal/pubsub/pubsub_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    	if err := ps.Subscribe(MaskAll, ch2, doneCh2, nil); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	close(doneCh1)
    	// Allow for the above statement to take effect.
    	time.Sleep(100 * time.Millisecond)
    	ps.Lock()
    	if len(ps.subs) != 1 {
    		t.Fatal("expected 1 subscriber")
    	}
    	ps.Unlock()
    	close(doneCh2)
    }
    
    type maskString string
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/Cache.java

       * unprivileged user may return a resource accessible only to a privileged user making a similar
       * call. To prevent this problem, create a key object that includes all values that affect the
       * result of the query. Or use {@code LoadingCache.get(K)}, which lacks the ability to refer to
       * state other than that in the key.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  6. doc/go_mem.html

    by other languages, including C, C++, Java, JavaScript, Rust, and Swift.
    </p>
    
    <p>
    Certain Go language operations such as goroutine creation and memory allocation
    act as synchronization operations.
    The effect of these operations on the synchronized-before partial order
    is documented in the “Synchronization” section below.
    Individual packages are responsible for providing similar documentation
    for their own operations.
    </p>
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/PercentEscaper.java

       * space character.
       *
       * <p>Not that it is allowed, but not necessarily desirable to specify {@code %} as a safe
       * character. This has the effect of creating an escaper which has no well-defined inverse but it
       * can be useful when escaping additional characters.
       *
       * @param safeChars a non-null string specifying additional safe characters for this escaper (the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                legacySupport.setSession(oldSession);
            }
        }
    
        /**
         * TODO pluginDescriptor classRealm and artifacts are set as a side effect of this
         *      call, which is not nice.
         * @throws PluginResolutionException
         */
        @Override
        public ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/TreeMultimap.java

     * according to the value ordering.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Null keys and values are permitted (provided, of course, that the respective comparators
     * support them). All optional multimap methods are supported, and all returned views are
     * modifiable.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. docs/tls/README.md

    ```
    setx path "%path%;C:\Users\MyUser\Downloads\gnutls-3.4.9-w64\bin"
    ```
    
    **Note:** PowerShell may need to be restarted for this change to take effect.
    
    #### 3.3.2 Generate a private key
    
    Run the following command to generate a private `.key` file:
    
    ```
    certtool.exe --generate-privkey --outfile private.key
    ```
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top