Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 1,718 for live (0.03 seconds)

  1. android/guava/src/com/google/common/net/InetAddresses.java

       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
       * <p>The scope ID is validated against the interfaces on the machine, which requires permissions
       * under Android.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testNewDataInput_readLine() {
        ByteArrayDataInput in =
            ByteStreams.newDataInput(
                "This is a line\r\nThis too\rand this\nand also this".getBytes(UTF_8));
        assertThat(in.readLine()).isEqualTo("This is a line");
        assertThat(in.readLine()).isEqualTo("This too");
        assertThat(in.readLine()).isEqualTo("and this");
        assertThat(in.readLine()).isEqualTo("and also this");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            SMBUtil.writeInt4(208, buffer, bufferIndex + 4);
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(0);
    
            // Note: Due to bug in line 96 (commented out bufferIndex = bufferOffset),
            // the decode starts at bufferIndex=8 instead of dataOffset=80
            // So we need to write data at bufferIndex=8
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  4. CONTRIBUTING.md

    This can save everyone a lot of time and frustration.
    
    For any non-trivial change, we need to be able to answer these questions:
    
    * Why is this change done? What's the use case?
    * For user-facing features, what will the API look like?
    * What test cases should it have? What could go wrong?
    * How will it roughly be implemented? We'll happily provide code pointers to save you time.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  5. internal/config/config.go

    // DelFrom - deletes all keys in the input reader.
    func (c Config) DelFrom(r io.Reader) error {
    	scanner := bufio.NewScanner(r)
    	for scanner.Scan() {
    		// Skip any empty lines, or comment like characters
    		text := scanner.Text()
    		if text == "" || strings.HasPrefix(text, KvComment) {
    			continue
    		}
    		if err := c.DelKVS(text); err != nil {
    			return err
    		}
    	}
    	return scanner.Err()
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

        }
    
        // Check if the parent is a directory first because createDirectories will fail if the parent
        // exists and is a symlink to a directory... we'd like for this to succeed in that case.
        // (I'm kind of surprised that createDirectories would fail in that case; doesn't seem like
        // what you'd want to happen.)
        if (!Files.isDirectory(parent)) {
          Files.createDirectories(parent, attrs);
          if (!Files.isDirectory(parent)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      /**
       * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of
       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  8. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

        <suppress checks="InterfaceIsTypeCheck"
                  files=".*[/\\]core-api[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]api[/\\]attributes[/\\]Usage.+"/>
    
        <!-- We like it explicit -->
        <suppress checks="ExplicitInitializationCheck"
                  files=".*"/>
    
        <!-- Ignore code from maven subproject under org.apache -->
        <suppress checks="RegexpSingleline"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 16:48:15 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  9. maven-tests/mvnw

        if [ ! -x "${JAVACMD-}" ] || [ ! -x "${JAVACCMD-}" ]; then
          echo "The java/javac command does not exist in PATH nor is JAVA_HOME set, so mvnw cannot run." >&2
          return 1
        fi
      fi
    }
    
    # hash string like Java String::hashCode
    hash_string() {
      str="${1:-}" h=0
      while [ -n "$str" ]; do
        char="${str%"${str#?}"}"
        h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296))
        str="${str#?}"
      done
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        void getDfsReferrals_happy() throws Exception {
            when(transport.getDfsReferrals(any(), any(), any(), any(), anyInt())).thenReturn(referral);
    
            String name = "\\\\server\\\\share\\\\path"; // UNC-like DFS path
            String host = "server.example";
            String domain = "EXAMPLE";
            int rn = 0;
    
            jcifs.DfsReferralData result = transport.getDfsReferrals(ctx, name, host, domain, rn);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top