Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 281 for mari (0.21 sec)

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

        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
    
        // reset to the mark and then read the rest
        reader.reset();
        assertEquals(string.substring(5), readFully(reader));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertEquals(big[1], small[3]);
      }
    
      public void testLimit_mark() throws Exception {
        byte[] big = newPreFilledByteArray(5);
        InputStream bin = new ByteArrayInputStream(big);
        InputStream lin = ByteStreams.limit(bin, 2);
    
        int read = lin.read();
        assertEquals(big[0], read);
        lin.mark(2);
    
        read = lin.read();
        assertEquals(big[1], read);
        read = lin.read();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

        public int available() throws IOException {
          return (int) Math.min(in.available(), left);
        }
    
        // it's okay to mark even if mark isn't supported, as reset won't work
        @Override
        public synchronized void mark(int readLimit) {
          in.mark(readLimit);
          mark = left;
        }
    
        @Override
        public int read() throws IOException {
          if (left == 0) {
            return -1;
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertEquals(big[1], small[3]);
      }
    
      public void testLimit_mark() throws Exception {
        byte[] big = newPreFilledByteArray(5);
        InputStream bin = new ByteArrayInputStream(big);
        InputStream lin = ByteStreams.limit(bin, 2);
    
        int read = lin.read();
        assertEquals(big[0], read);
        lin.mark(2);
    
        read = lin.read();
        assertEquals(big[1], read);
        read = lin.read();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

            inactiveProfileIds.forEach(this::deactivateOptionalProfile);
        }
    
        /**
         * Mark a profile as required and activated.
         * @param id The identifier of the profile.
         */
        public void activateRequiredProfile(String id) {
            this.activations.put(id, ActivationSettings.ACTIVATION_REQUIRED);
        }
    
        /**
         * Mark a profile as optional and activated.
         * @param id The identifier of the profile.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.2.2.txt

       0080-009F; [CONTROL CHARACTERS]
       06DD; ARABIC END OF AYAH
       070F; SYRIAC ABBREVIATION MARK
       180E; MONGOLIAN VOWEL SEPARATOR
       200C; ZERO WIDTH NON-JOINER
       200D; ZERO WIDTH JOINER
       2028; LINE SEPARATOR
       2029; PARAGRAPH SEPARATOR
       2060; WORD JOINER
       2061; FUNCTION APPLICATION
       2062; INVISIBLE TIMES
       2063; INVISIBLE SEPARATOR
       206A-206F; [CONTROL CHARACTERS]
       FEFF; ZERO WIDTH NO-BREAK SPACE
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 498 bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/lang/ro.js

    incorect",badSecurityAnswer:"Răspuns incorect la întrebarea de siguran?ă",badDate:"Dară incorectă",lengthBadStart:"Valoarea introdusă trebuie să fie interval ",lengthBadEnd:" caractere",lengthTooLongStart:"Valoarea introdusă este mai mare decât ",lengthTooShortStart:"Valoarea introdusă este mai mică decât ",notConfirmed:"Valorile introduse nu au fost confirmate",badDomain:"Domeniul este incorect",badUrl:"Adresa URL este incorectă",badCustomVal:"Valoarea introdusă este incorectă",andSpaces:" şi spaţierea",badInt:"Numărul...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  8. tests/test_param_include_in_schema.py

    }
    
    
    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == openapi_schema
    
    
    @pytest.mark.parametrize(
        "path,cookies,expected_status,expected_response",
        [
            (
                "/hidden_cookie",
                {},
                200,
                {"hidden_cookie": None},
            ),
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Java8Compatibility.java

      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void mark(Buffer b) {
        b.mark();
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      static void reset(Buffer b) {
        b.reset();
      }
    
      private Java8Compatibility() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. internal/once/init.go

    		return l.do(f)
    	}
    	return nil
    }
    
    func (l *Init) do(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    		atomic.StoreUint32(&l.done, 1)
    	}
    	return nil
    }
    
    // DoWithContext is similar to Do except that it accepts a context as an argument to be passed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top