Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for grep (5.02 sec)

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

        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.write("Hi");
        writer.close();
    
        assertThrows(IOException.class, () -> writer.write(" Greg"));
    
        assertThrows(IOException.class, () -> writer.flush());
    
        // close()ing already closed writer is allowed
        writer.close();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SIDCacheImpl.java

                out.domainName = null;
                switch ( resp.sid_type ) {
                case jcifs.SID.SID_TYPE_USER:
                case jcifs.SID.SID_TYPE_DOM_GRP:
                case jcifs.SID.SID_TYPE_DOMAIN:
                case jcifs.SID.SID_TYPE_ALIAS:
                case jcifs.SID.SID_TYPE_WKN_GRP:
                    rpc.unicode_string ustr = rpc.domains.domains[ resp.sid_index ].name;
                    out.domainName = ( new UnicodeString(ustr, false) ).toString();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

      }
    
      @Benchmark
      void concurrentHashMap(int rep) {
        for (int i = 0; i < rep; i++) {
          map.get(TEST_KEY);
        }
      }
    
      @Benchmark
      void cacheBuilder_stats(int rep) {
        for (int i = 0; i < rep; i++) {
          cache.getIfPresent(TEST_KEY);
        }
      }
    
      @Benchmark
      void cacheBuilder(int rep) {
        for (int i = 0; i < rep; i++) {
          cacheNoStats.getIfPresent(TEST_KEY);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

                    "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided");
            Artifact artifact2 = factory.createDependencyArtifact(
                    "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test");
            Artifact artifact3 = factory.createDependencyArtifact(
                    "test-grp",
                    "test-artifact-3",
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

              "nesec--nx??at?b?c!cul??dv?i&blo&-oipmet?oipmet??cserb?drabmol?g&gof?urep??l&gup?i&cis?me&-oigger?oigger???uig&-&aizenev&-iluirf?iluirf??ev&-iluirf?iluirf??v&-iluirf?iluirf???aizenev&-iluirf?iluirf??ev&-iluirf?iluirf??v&-ilu...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.write("Hi");
        writer.close();
    
        assertThrows(IOException.class, () -> writer.write(" Greg"));
    
        assertThrows(IOException.class, () -> writer.flush());
    
        // close()ing already closed writer is allowed
        writer.close();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

      }
    
      @Benchmark
      void concurrentHashMap(int rep) {
        for (int i = 0; i < rep; i++) {
          map.get(TEST_KEY);
        }
      }
    
      @Benchmark
      void cacheBuilder_stats(int rep) {
        for (int i = 0; i < rep; i++) {
          cache.getIfPresent(TEST_KEY);
        }
      }
    
      @Benchmark
      void cacheBuilder(int rep) {
        for (int i = 0; i < rep; i++) {
          cacheNoStats.getIfPresent(TEST_KEY);
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

        public static final int SID_TYPE_USER    = lsarpc.SID_NAME_USER;
        public static final int SID_TYPE_DOM_GRP = lsarpc.SID_NAME_DOM_GRP;
        public static final int SID_TYPE_DOMAIN  = lsarpc.SID_NAME_DOMAIN;
        public static final int SID_TYPE_ALIAS   = lsarpc.SID_NAME_ALIAS;
        public static final int SID_TYPE_WKN_GRP = lsarpc.SID_NAME_WKN_GRP;
        public static final int SID_TYPE_DELETED = lsarpc.SID_NAME_DELETED;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        }
        public static final int SID_NAME_USE_NONE = 0;
        public static final int SID_NAME_USER = 1;
        public static final int SID_NAME_DOM_GRP = 2;
        public static final int SID_NAME_DOMAIN = 3;
        public static final int SID_NAME_ALIAS = 4;
        public static final int SID_NAME_WKN_GRP = 5;
        public static final int SID_NAME_DELETED = 6;
        public static final int SID_NAME_INVALID = 7;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 33K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        }
    
        public static final int SID_NAME_USE_NONE = 0;
        public static final int SID_NAME_USER = 1;
        public static final int SID_NAME_DOM_GRP = 2;
        public static final int SID_NAME_DOMAIN = 3;
        public static final int SID_NAME_ALIAS = 4;
        public static final int SID_NAME_WKN_GRP = 5;
        public static final int SID_NAME_DELETED = 6;
        public static final int SID_NAME_INVALID = 7;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 35.6K bytes
    - Viewed (0)
Back to top